(完整版)基于stm32的LCD12864显示+16个矩阵键盘程序.docVIP

  • 58
  • 0
  • 约1.29万字
  • 约 15页
  • 2020-11-04 发布于山东
  • 举报

(完整版)基于stm32的LCD12864显示+16个矩阵键盘程序.doc

#include stm32f10x.h #define read_busybit() GPIO_ReadInputDataBit(GPIOE,GPIO_Pin_7 ) #define DATAOUT GPIOC-ODR// unsigned char table1[]={65}; unsigned char table2[]={ 大学 } ; unsigned char table3[]={ 学院 } ; unsigned char table4[]={ 电子信息 } ; unsigned char table5[]={ 姓名 } ; unsigned char hy5; unsigned char k=0; void delay(unsigned int x) { while(x--); } 外设时钟使能 /*************************************************************************/ void RCC_Configuration(void) // 在 208 页 这里是引脚时钟配置 { /* 使能外设时钟 */ RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1 | RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_A

文档评论(0)

1亿VIP精品文档

相关文档