SG12864A
Dependents: SG12864A_TestProgram
Diff: main.cpp
- Revision:
- 2:91c03e41c927
- Parent:
- 1:aacd73a4e7ee
- Child:
- 3:86e7fba29623
diff -r aacd73a4e7ee -r 91c03e41c927 main.cpp --- a/main.cpp Tue Jul 20 03:59:17 2010 +0000 +++ b/main.cpp Tue Jul 20 05:30:47 2010 +0000 @@ -46,16 +46,21 @@ lcd.bufferClear(); lcd.bufferDrawLine(0, 0, SG12864A::PIXEL_X - 1, SG12864A::PIXEL_Y - 1); lcd.bufferDrawLine(0, SG12864A::PIXEL_Y - 1, SG12864A::PIXEL_X - 1, 0); + lcd.bufferDrawString(1, 1, "This is a test #1.\b"); lcd.bufferPush(); wait_ms(1000); + // lcd.bufferClear(); lcd.bufferDrawBox(0, 0, SG12864A::PIXEL_X - 1, SG12864A::PIXEL_Y - 1); + lcd.bufferDrawString(1, 2, "This is a test #2.\b"); lcd.bufferPush(); wait_ms(1000); + // lcd.bufferClear(); lcd.bufferFillBox(0, 0, SG12864A::PIXEL_X - 1, SG12864A::PIXEL_Y - 1); + lcd.bufferDrawString(1, 3, "This is a test #3.\b"); lcd.bufferPush(); wait_ms(1000); }