基于STM32的1602驱动程序.pdfVIP

  • 40
  • 0
  • 约6.65千字
  • 约 6页
  • 2019-08-10 发布于四川
  • 举报
#include stm32f10x_lib.h GPIO_InitTypeDef GPIO_InitStructure; //定义数据命令选择端 #define RS_SET GPIO_SetBits(GPIOD,GPIO_Pin_0) #define RS_CLR GPIO_ResetBits(GPIOD,GPIO_Pin_0) //读写控制端 #define RW_CLR GPIO_ResetBits(GPIOD,GPIO_Pin_1) #define RW_SET GPIO_SetBits(GPIOD,GPIO_Pin_1)

文档评论(0)

1亿VIP精品文档

相关文档