Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TFTLCD by
Diff: ssd1289.h
- Revision:
- 10:69571adcfad5
- Parent:
- 6:059ca1648211
- Child:
- 12:d0978272a340
--- a/ssd1289.h Fri Dec 07 16:14:13 2012 +0000
+++ b/ssd1289.h Tue Dec 11 03:18:43 2012 +0000
@@ -166,6 +166,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:
DigitalOut _lcd_pin_wr;
BusOut* _lcd_port;
