Behrooz Abdi
/
Tiger_LCD
Landtiger (LPC1768) graphics LCD demo.
Diff: main.cpp
- Revision:
- 1:ea0f7b1c5daf
- Parent:
- 0:a8090b59eb05
- Child:
- 2:43ede88fb5a3
diff -r a8090b59eb05 -r ea0f7b1c5daf main.cpp --- a/main.cpp Sun Nov 04 16:49:27 2012 +0000 +++ b/main.cpp Sun Nov 04 18:13:01 2012 +0000 @@ -162,14 +162,14 @@ GLCD_SetTextColor (Red); GLCD_SetBackColor (White); - GLCD_DisplayString (0, 0, (unsigned char*) "Hi Willem"); + GLCD_DisplayString (8, 1, (unsigned char*) "Hi Willem"); LCD_Ani_start(); - GLCD_drawRect (20, 20, 100, 100); + GLCD_drawRect (10, 10, 100, 100); GLCD_SetTextColor (Green); - GLCD_drawHLine (10, 10, 50); + GLCD_drawHLine (20, 20, 50); GLCD_drawVLine (30, 30, 50); pc.printf("LCD Controller ID = 0x%04X\n\r", GLCD_DriverCode());