Design of an Electronic Clock with LCD for 51 Microcontroller
The LCD screen is JM12864 or FYD12864 (with font library). I have used both models without issues. 4 rows * 8 columns of Chinese characters = 32 serial communication interfaces P1.5–P1.7, which can be modified according to your circuit. #include #define uchar unsigned char void LCD_ini(); void ascii_change(void); void delay(); void wri_add(uchar com); void wri_dat(uchar … Read more