Library to control a QVGA TFT connected to SPI. You can use printf to print text The lib can handle different fonts, draw lines, circles, rect and bmp
Dependents: TFT_Test1 SourceCodePro31-SB Mandelbrot Mindwave-screen ... more
See http://mbed.org/cookbook/SPI-driven-QVGA-TFT for details.
Diff: GraphicsDisplay.cpp
- Revision:
- 11:9bb71766cafc
- Parent:
- 0:de9d1462a835
--- a/GraphicsDisplay.cpp Sun Feb 03 18:18:43 2013 +0000 +++ b/GraphicsDisplay.cpp Tue Feb 19 21:49:55 2013 +0000 @@ -113,7 +113,7 @@ blitbit(column * 8, row * 8, 8, 8, (char*)&(FONT8x8[value - 0x1F][0])); } -void GraphicsDisplay::window(int x, int y, int w, int h) { +void GraphicsDisplay::window(unsigned int x,unsigned int y,unsigned int w,unsigned int h) { // current pixel location _x = x; _y = y;