Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
lcd_driver.h
00001 #ifndef LCD_DRIVER_H 00002 #define LCD_DRIVER_H 00003 00004 //#include "mbed.h" 00005 00006 00007 #ifdef LCD_DRIVER_C 00008 #define EXTERN_PFX 00009 #else 00010 #define EXTERN_PFX extern 00011 #endif 00012 00013 #define HIGH 1 00014 #define LOW 0 00015 00016 #define digitalWrite(x,y) x=y 00017 00018 #define delay(x) wait_ms(x) 00019 00020 #define X_CONST 240 00021 #define Y_CONST 320 00022 00023 00024 00025 00026 EXTERN_PFX void Write(unsigned int c); 00027 EXTERN_PFX void Write_Command(unsigned int c); 00028 EXTERN_PFX void Write_Data(unsigned int c); 00029 EXTERN_PFX void Write_Command_Data(unsigned int cmd,unsigned int dat); 00030 00031 00032 EXTERN_PFX void Lcd_Init(); 00033 EXTERN_PFX void LCD_clear(); 00034 EXTERN_PFX void SetXY(unsigned int x0,unsigned int x1,unsigned int y0,unsigned int y1); 00035 EXTERN_PFX void Pant(unsigned int color); 00036 00037 00038 00039 00040 00041 #endif
Generated on Mon Jul 18 2022 08:44:23 by
1.7.2