没有合适的资源?快使用搜索试试~ 我知道了~
w2516的程序,支持1289,9320的彩屏的触摸驱动,很好用的
资源推荐
资源详情
资源评论
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
#include "stm32f10x.h"
#include "stm32_eval.h"
#include "flash.h"
#include "delay.h"
#include <stdio.h>
#define GPIO_KEY1 GPIO_Pin_3
#define GPIO_KEY2 GPIO_Pin_8
#define GPIO_KEY3 GPIO_Pin_13
#define GPIO_KEY4 GPIO_Pin_0
#define GPIO_KEY_ANTI_TAMP GPIO_KEY3
#define GPIO_KEY_WEAK_UP GPIO_KEY4
#define NOKEY 0
#define KEY1 1
#define KEY2 2
#define KEY3 3
#define KEY4 4
/*要写入到W25X16的字符串数组*/
const u8 TEXT_Buffer[]={"杨宇锋在武汉工业学院"};
#define SIZE sizeof(TEXT_Buffer)//求字符串长度
USART_InitTypeDef USART_InitStructure;//定义串口初始化结构体
#include "stm32_eval.h"
#include "flash.h"
#include "delay.h"
#include <stdio.h>
#define GPIO_KEY1 GPIO_Pin_3
#define GPIO_KEY2 GPIO_Pin_8
#define GPIO_KEY3 GPIO_Pin_13
#define GPIO_KEY4 GPIO_Pin_0
#define GPIO_KEY_ANTI_TAMP GPIO_KEY3
#define GPIO_KEY_WEAK_UP GPIO_KEY4
#define NOKEY 0
#define KEY1 1
#define KEY2 2
#define KEY3 3
#define KEY4 4
/*要写入到W25X16的字符串数组*/
const u8 TEXT_Buffer[]={"杨宇锋在武汉工业学院"};
#define SIZE sizeof(TEXT_Buffer)//求字符串长度
USART_InitTypeDef USART_InitStructure;//定义串口初始化结构体
u8 ReadKeyDown(void);//按键扫描函数
void GPIO_KEY_Config(void);//按键所在的GPIO口配置函数
#ifdef __GNUC__
/* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
set to 'Yes') calls __io_putchar() */
#define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
#else
#define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f)
#endif /* __GNUC__ */
int main(void)
{
u8 key;
u16 i=0;
u8 datatemp[SIZE];
GPIO_KEY_Config();//所要用到的GPIO初始化
GPIO_ResetBits(GPIOF, GPIO_Pin_6|GPIO_Pin_7|GPIO_Pin_8|GPIO_Pin_9);//电平拉低 开所有LED灯
printf("\n\r--------------------------------------------- ");
printf("\n\r\n ");
printf("\n\r神舟III号 \n");
printf("\n\r 杨宇锋在实验室 ("__DATE__ " - " __TIME__ ")");
剩余21页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
大熊zgx
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
- AMSR/ADEOS-II L1A Raw Observation Counts, Version 3用户手册
- zaopingshujufenxi.zip
- 六级作文模板万能句型pdf.zip
- delphi 12 控件之DISQLite3 v5.48.3 for Delphi 11-12 Athens + CRACK.7
- Delphi 12 控件之DIXml v6.3.1 for Delphi 11-12 Athens + CRACK.7z
- Delphi 12 控件Mitov Software MegaLab 8.0 for D12 Athens Source Cod
- Delphi 12 控件之Delphi-WinTaskSched-master.zip
- C语言连接两个字符串pdf.zip
- Matlab的语言教程
- Sigrity-PowerSI提取S参数仿真操作指导
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)