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.
Diff: lcd.h
- Revision:
- 5:70dcbb284628
- Parent:
- 4:a4925df73101
--- a/lcd.h Sat Jan 08 23:13:52 2011 +0000 +++ b/lcd.h Sun Jan 09 22:04:01 2011 +0000 @@ -1,5 +1,5 @@ -#ifndef lcd_h -#define lcd_h lcd_h +#ifndef LCD_H_ +#define LCD_H_ LCD_H_ #include <mbed.h> @@ -10,7 +10,7 @@ #define COLOR_WHITE 0xFFFF #define COLOR_BLUE 0x0000 #define COLOR_GREEN 0x0000 -#define COLOR_RED 0x0000 +#define COLOR_RED 0xF800 #undef LCD_BACKLIGHT_LED @@ -38,7 +38,7 @@ void LoadEEPROM(void); void ST7626_Init(void); void lcd_putpixel( int x, int y, int16_t color); -void LCD_clear(int16_t GroundColor); +void lcd_clear(int16_t GroundColor); void Write(unsigned char , int8_t ); //mode (befehl oder daten) & die Daten. void resetdisp(void); void LcdLoop();