I'm using the 3.5" TFT display with ILI9486 on Arduino Mega 2560, with a program that reads data from the BME280 sensor and the time and date from the DS 3231. I am using the following libraries:
<BME280I2C.h>
<MCUFRIEND_kbv.h>
<RTClib.h>
<TimedAction.h>
<SPI.h>
<Wire.h>
"DST_RTC.h".
I would like to know if there is an easy way to turn off the display (only the display!), for example during the night, to "save" the display itself, to save energy and not disturb my sleep. I thank anyone who will give me a suggestion.
I succeeded with this model. I managed to modify the display to have control over the LED.
Check the resistance R1. It is possible that R1 is the current limiting resistor on the LED.
Your display is different from mine, as you can see from the photo on the Forum. Therefore, I don't feel like intervening on the R1, like you did. The R1 on my display probably also controls the LEDs, but I don't want to risk burning it. I prefer to use the NodeMCU8266+TFT SPI solution, which ensures greater speed, superior performance (possibility of connecting to WiFi), at a lower cost. The diagram used is the one I attach.