hi everyone, i'm so in awe of the work on TFT screen development for Arduino. thank you all for helping us improve on our craziest ideas.
now i'm working on an irrigation system, this has to activate a valve and after 2 weeks again to activate the valve, my problem is the sleep mode for the screen, because in TFT_Iesp my screen has'nt support, in MCUFriend i have the support for screen but i don't have any method for shutdown/sleep/idle/standby mode this screen.
i try with UTFT, but is the slowest.
and Adafruit_GFX hasn't the documentation about a Keyword.txt, so I'm lost in my ignorance.
i'm looking about merge like implement diferent solutions to this
the first crazy idea come form this:
setRotation(uint8_t r), invertDisplay(boolean i);
void sleep(void) { writecommand(ST7735_SLPIN); }
void wake(void) { writecommand(ST7735_SLPOUT); }
uint16_t Color565(uint8_t r, uint8_t g, uint8_t b);
David Prentice proposal in How to turn off a TFT display? - #6 by david_prentice
But when i try to use it Platform.IO says
"writecommand was not declared in this SCOPE"
so, i don't have any idea how can i resolved.
Please Help me to find any solution for use Arduino Mega2560 with a TFT compatible.
Screens for arduino UNO put the SPI for SD in PIN 11,12,13, but in mega2560 you have to use the 51,50,52 respectively, so to try another screen compatible with UNO is a partial solution and i need save data in the SD.
Actually i'm using a Himax 8347-I exactly same model that Mcufriend 2.8 inch tftlcd for arduino Mega2560(8347i) usage