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:
28:89a1399409ff
Parent:
22:4c169297f374
--- a/st7735.h	Mon Jul 22 01:48:06 2013 +0000
+++ b/st7735.h	Tue Feb 16 19:09:15 2016 +0000
@@ -88,7 +88,7 @@
      * \param blType The backlight type, the default is to utilize the pin - if supplied - as a simple on/off switch
      * \param defaultBacklightLevel If using PWM to control backlight, this would be the default brightness in percent after LCD initialization.
      */
-    ST7735_LCD( PinName CS, PinName RESET, PinName RS, PinName SCL, PinName SDA, PinName BL = NC, backlight_t blType = Constant, float defaultBackLightLevel = 1.0 );
+    ST7735_LCD( PinName CS, PinName RESET, PinName RS, PinName SCL, PinName SDA, PinName BL = NC, backlight_t blType = Constant, float defaultBackLightLevel = 1.0, int width = 128, int height = 160);
     
     /** Initialize display.
      *