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

Files at this revision

API Documentation at this revision

Comitter:
dreschpe
Date:
Sun Sep 04 21:24:35 2011 +0000
Parent:
6:fc33e4a5713e
Child:
8:e1f5232d93a0
Commit message:
Fix bug from debug code

Changed in this revision

SPI_TFT.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SPI_TFT.cpp	Wed Aug 31 20:51:14 2011 +0000
+++ b/SPI_TFT.cpp	Sun Sep 04 21:24:35 2011 +0000
@@ -20,7 +20,7 @@
 
 #define BPP         16                  // Bits per pixel                
 
-DigitalOut led(LED1);
+//DigitalOut led(LED1);
 
 SPI_TFT::SPI_TFT(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset, const char *name)
         : _spi(mosi, miso, sclk), _cs(cs), _reset(reset),GraphicsDisplay(name) {