Imrich Konkol / Mbed 2 deprecated lcd_tft_ssd2119

Dependencies:   EthernetNetIf mbed

Revision:
2:456410210d03
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Display.h	Sun Feb 27 23:39:10 2011 +0000
@@ -0,0 +1,43 @@
+// color definitions (H = half)
+#define    BLACK     0x0000
+#define    HBLUE     0x0015
+#define    BLUE      0x001F
+#define    HRED      0xB800
+#define    RED       0xF800
+#define    HGREEN    0x05E0
+#define    GREEN     0x07E0
+#define    HCYAN     0x05F5
+#define    CYAN      0x07FF
+#define    HMAGENTA  0x8010
+#define    MAGENTA   0xB815
+#define    HYELLOW   0xC5E0
+#define    YELLOW    0xFFE0
+#define    HWHITE    0xC5F5
+#define    WHITE     0xFFFF
+
+// Define Spectrum colors
+static const uint16_t colors [15] = {
+    BLACK,HBLUE,HRED,HMAGENTA,HGREEN,HCYAN,HYELLOW,HWHITE,BLUE,RED,MAGENTA,GREEN,CYAN,YELLOW,WHITE
+};
+
+#define    HRES      320     // X axis # of pixels
+#define    VRES      240     // Y axis # of pixels
+
+#define    START_X   31
+#define    START_Y   23
+
+void cls(void);
+void Display_Home(void);
+void LcdGotoXY( uint8_t x,  uint8_t y);
+void LcdGotoXY8( uint8_t x,  uint8_t y);
+void LcdChr8x8 ( uint8_t ch);
+void LcdStr8x8 (  char *dataPtr );
+void LcdChr (  uint8_t ch );
+void LcdStr (  char *dataPtr );
+unsigned char scr2lcd(char *scrfile);
+void display_rgb(unsigned int data);
+void ShowPalette256(void);
+void Dir(void);
+void SldShw(void);
+void LCD_test(void);
+void initialization(void);