Add TFT commands
Fork of DigoleSerialDisp by
Diff: DigoleSerialDisp.h
- Revision:
- 5:920614dc6fca
- Parent:
- 4:c4b2a8f0d056
- Child:
- 6:3ed9cddf46d0
--- a/DigoleSerialDisp.h Mon Feb 25 06:12:59 2013 +0000 +++ b/DigoleSerialDisp.h Mon Oct 24 16:24:54 2016 +0000 @@ -252,6 +252,7 @@ /*----------Functions for Graphic LCD/OLED adapters only---------*/ //the functions in this section compatible with u8glib void drawBitmap(uint8_t x, uint8_t y, uint8_t w, uint8_t h, const uint8_t *bitmap); + void drawBitmap256(uint8_t x, uint8_t y, uint8_t w, uint8_t h, const uint8_t *bitmap); void setRot90(void); void setRot180(void); void setRot270(void); @@ -281,6 +282,9 @@ /** set color for graphic function */ void setColor(uint8_t); + + /** set bg color for graphic function */ + void setBgColor(uint8_t); /** Turn on back light */ void backLightOn(void);