A modifiedversion of TFTLCD by Todor Todorov with ultra-fast operation for SSD1289 controller. TODO: speed-up fonts, add my own fonts Can work out-of-the-box with ST Nucleo F401RE

Dependents:   TFT_320QVT_Window_Drag_Demo TFT_320QVT_HelloWorld

Fork of TFTLCD by Todor Todorov

Revision:
10:69571adcfad5
Parent:
6:059ca1648211
Child:
12:d0978272a340
diff -r 58b328831d0a -r 69571adcfad5 hx8340bs.h
--- a/hx8340bs.h	Fri Dec 07 16:14:13 2012 +0000
+++ b/hx8340bs.h	Tue Dec 11 03:18:43 2012 +0000
@@ -167,6 +167,14 @@
      */
     virtual void SetXY( uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2 );
     
+    /** Sets the color of the pixel at the address pointer of the controller.
+     *
+     * This function is to be provided by each implementation separately in
+     * order to account for different color depth used by the controller.
+     * \param color The color of the pixel.
+     */
+    virtual void SetPixelColor( unsigned short color );
+    
 private:
     void serializeByte( unsigned char data );