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:
10:69571adcfad5
Parent:
4:3ac4239f6c9c
Child:
12:d0978272a340
diff -r 58b328831d0a -r 69571adcfad5 ssd1289.cpp
--- a/ssd1289.cpp	Fri Dec 07 16:14:13 2012 +0000
+++ b/ssd1289.cpp	Tue Dec 11 03:18:43 2012 +0000
@@ -141,3 +141,8 @@
     WriteCmdData( 0x4f, y1 );
     WriteCmd( 0x22 );
 }
+
+void SSD1289_LCD::SetPixelColor( unsigned short color )
+{
+    WriteData( color );
+}