求基于单片机stc89c52超声波测距lcd12864显示的c程序
求基于单片机stc89c52超声波测距lcd12864显示的c程序
日期:2021-06-11 22:19:26 人气:1
#define uchar unsigned char
#define uint unsigned int
/************* 12864LCD引脚定义 *************/
//#define LCD_data P0 //数据口
sbit LCD_CS=P2^0; //寄存器选择输入
sbit SID=P2^1; /
#define uint unsigned int
/************* 12864LCD引脚定义 *************/
//#define LCD_data P0 //数据口
sbit LCD_CS=P2^0; //寄存器选择输入
sbit SID=P2^1; /