Closed lucadentella closed 4 years ago
Hi!
ST77xx chip supports a "sleep mode" (the datasheet describes it as "the minimum power consumption mode"). The required opcodes are already present in Adafruit_ST77xx.h:
#define ST77XX_SLPIN 0x10 #define ST77XX_SLPOUT 0x11
#define ST77XX_SLPIN 0x10
#define ST77XX_SLPOUT 0x11
but the sendCommand() method is not public so the only way to use them is to create dedicated methods in the library.
sendCommand()
I tried to use the same approach of already existing methods (enableDisplay, enableTearing).
This commit also Closes #74
nice thanks~
Hi!
ST77xx chip supports a "sleep mode" (the datasheet describes it as "the minimum power consumption mode"). The required opcodes are already present in Adafruit_ST77xx.h:
#define ST77XX_SLPIN 0x10
#define ST77XX_SLPOUT 0x11
but the
sendCommand()
method is not public so the only way to use them is to create dedicated methods in the library.I tried to use the same approach of already existing methods (enableDisplay, enableTearing).
This commit also Closes #74