for Arduino TFT LCD Screen 160x128
Dependents: TFTLCDSCREEN Pong_ILI9163C
Fork of TFT_ILI9163C by
Diff: TFT_ILI9163C_BASE.h
- Revision:
- 10:1ebc27775d92
- Parent:
- 7:3dcb98ecf29f
- Child:
- 12:f0799be044ff
--- a/TFT_ILI9163C_BASE.h Wed Feb 04 10:58:53 2015 +0000 +++ b/TFT_ILI9163C_BASE.h Mon Mar 02 11:38:50 2015 +0000 @@ -114,6 +114,7 @@ #define CMD_TEFXLON 0x34//Tearing Effect Line ON #define CMD_TEFXLOF 0x35//Tearing Effect Line OFF #define CMD_MADCTL 0x36//Memory Access Control +#define CMD_VSSTADRS 0x37//Vertical Scrolling Start address #define CMD_PIXFMT 0x3A//Interface Pixel Format #define CMD_FRMCTR1 0xB1//Frame Rate Control (In normal mode/Full colors) @@ -151,6 +152,11 @@ pushColor(uint16_t color), clearScreen(uint16_t color=0x0000),//same as fillScreen setRotation(uint8_t r); + + void display(bool onOff), + sleepMode(bool mode), + defineScrollArea(uint16_t taf,uint16_t bfa), + scroll(uint16_t ssa); virtual void fillScreen(uint16_t color=0x0000), drawPixel(int16_t x, int16_t y, uint16_t color), @@ -183,6 +189,7 @@ uint8_t _Mactrl_Data;//container for the memory access control data uint8_t _colorspaceData; + uint8_t sleep; void colorSpace(uint8_t cspace); void chipInit(); bool boundaryCheck(int16_t x,int16_t y);