Hi!
I'm building a device including 3.5 TFT display (ILI9327 driver. ILI9327_8, if be precise), and i need to switch ON/OFF backlight of the display for power safe. I'm using UTFT library, and this library has methods lcdOn() and lcdOff(), but not for my driver. I'm trying to add code to library for my display, no success yet.
I think it must be something like this:
void UTFT::lcdOff()
....
case ILI9327_8:
LCD_Write_COM(0x53);
LCD_Write_DATA(0x28);
break;
void UTFT::lcdOn()
....
case ILI9327_8:
LCD_Write_COM(0x53);
LCD_Write_DATA(0x2C);
break;
But it don't work... Datasheet of driver: [datasheet in pdf]
Any ideas? Thanks.
P.S.: I tried to use Set_display_on and Set_display_off commands from datasheet, but it only modifying pixel colors, not backlight.