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:
3:64a5b67d5b51
Parent:
2:81ed304b7e9b
Child:
4:3ac4239f6c9c
--- a/lcd_base.cpp	Sun Dec 02 00:12:43 2012 +0000
+++ b/lcd_base.cpp	Sun Dec 02 01:44:23 2012 +0000
@@ -20,10 +20,7 @@
  *
  *********************************************************************/
 #include "lcd_base.h"
-
-#ifndef ushort
-typedef unsigned short ushort;
-#endif
+#include "helpers.h"
 
 LCD::LCD( unsigned short width, unsigned short height ,PinName CS, PinName RS )
     : _disp_width( width ), _disp_height( height ), _lcd_pin_cs( CS ), _lcd_pin_rs( RS )