LCD1602驱动代码

时间:2022-07-26 09:25:06
【文件属性】:

文件名称:LCD1602驱动代码

文件大小:4KB

文件格式:C

更新时间:2022-07-26 09:25:06

lcd1602

stm32 驱动LCD1602 #include "Publics.h" void LED_Data(unsigned char data) { if(data&0x01) { LCD_data1(1); } else {LCD_data1(0);} if(data&0x02) {LCD_data2(1);} else {LCD_data2(0);} if(data&0x04) {LCD_data3(1);} else {LCD_data3(0);} if(data&0x08) {LCD_data4(1);} else {LCD_data4(0);} if(data&0x10) {LCD_data5(1);} else {LCD_data5(0);} if(data&0x20) {LCD_data6(1);} else {LCD_data6(0);} if(data&0x40) {LCD_data7(1);} else {LCD_data7(0);} if(data&


网友评论