Kentaro Sekimoto / Mbed 2 deprecated GR-PEACH_TFTLCD_8bit

Dependencies:   TFTLCD_8bit mbed-src mbed

Revision:
2:bfdbc88d37bf
Parent:
1:e12f20dc9493
Child:
3:86f4425affe5
--- a/main.cpp	Sun Apr 06 15:27:17 2014 +0000
+++ b/main.cpp	Mon Apr 07 16:53:59 2014 +0000
@@ -5,17 +5,27 @@
 //BusOut dataBus( p30, p29, p28, p27, p26, p25, p24, p23, p22, p21, p20, p19, p18, p17, p16, p15 ); // 16 pins
 BusOut dataBus( PTA13, PTD5, PTD4, PTA12, PTA4, PTA5, PTC8, PTC9 ); // 16 pins
 // create the lcd instance
-ILI9328_LCD lcd( PTB3, PTC2, PTB2, PTB1, &dataBus, NC, PTB0); // control pins and data bus
+ILI9325_LCD lcd( PTB3, PTC2, PTB2, PTB1, &dataBus, NC, PTB0); // control pins and data bus
 //CS, RESET, RS, WR
 int main()
 {
     // initialize display - place it in standard portrait mode and set background to black and
     //                      foreground to white color.
     lcd.Initialize();
+
+    lcd.FillScreen(COLOR_GREEN);
     // set current font to the smallest 8x12 pixels font.
 //    lcd.SetFont( Font8x12 );
     // print something on the screen
-    lcd.Print( "Hello, World!", CENTER, 50); // align text to center horizontally and use starndard colors
+    lcd.Print( "Thiha Electronics", CENTER, CENTER, -2,COLOR_GREEN); // align text to center horizontally and use starndard colors
+
+    lcd.Print( "Using KL25Z on mbed", CENTER, 300, -2,COLOR_GREEN); // align text to center horizontally and use starndard colors
+
+    lcd.Print( "Code @ users/", CENTER, 600, -2,COLOR_GREEN); // align text to center horizontally and use starndard colors
+
+    lcd.Print( "/ThihaElectronics/", CENTER, 900, -2,COLOR_GREEN); // align text to center horizontally and use starndard colors
+
+    lcd.Print( "KL25Z_ILI9325/", CENTER, 1200, -2,COLOR_GREEN); // align text to center horizontally and use starndard colors
 
     while ( 1 ) { }
 }
\ No newline at end of file