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:
6:059ca1648211
Parent:
5:09b6d228ceea
Child:
7:5c418fc1879f
--- a/lcd_base.h	Sun Dec 02 05:58:00 2012 +0000
+++ b/lcd_base.h	Mon Dec 03 15:38:56 2012 +0000
@@ -34,6 +34,10 @@
 #include "mbed.h"
 #include "fonts.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /** \def RGB(r,g,b)
  *  \brief Creates a RGB-565 color value.
  *
@@ -466,4 +470,8 @@
     font_metrics_t  _font;
 };
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* TFTLCD_BASE_H */