This is a port of Henning Kralsen's UTFT library for Arduino/chipKIT to mbed, refactored to make full use of C inheritance and access control, in order to reduce work when implementing new drivers and at the same time make the code more readable and easier to maintain. As of now supported are SSD1289 (16-bit interface), HX8340-B (serial interface) and ST7735 (serial interface). Drivers for other controllers will be added as time and resources to acquire the displays to test the code permit.

Dependents:   UTFT_SSD1289

Fork of TFTLCD by Todor Todorov

Revision:
1:14bef43daf6f
Parent:
0:881ff0b71102
Child:
2:81ed304b7e9b
--- a/ssd.cpp	Sat Dec 01 19:38:53 2012 +0000
+++ b/ssd.cpp	Sat Dec 01 23:49:10 2012 +0000
@@ -25,7 +25,7 @@
 #define pulseHigh( pin )        pin = HIGH; pin = LOW
 
 SSD1289LCD::SSD1289LCD( PinName CS, PinName RESET, PinName RS, PinName WR, BusOut* DATA_PORT, PinName RD )
-    : LCD( 239, 319, CS, RS ), _lcd_pin_reset( RESET ), _lcd_pin_wr( WR )
+    : LCD( 240, 320, CS, RS ), _lcd_pin_reset( RESET ), _lcd_pin_wr( WR )
 {
     _lcd_port = DATA_PORT;
     if ( RD != NC )