next update
on the display there is a transistor for enable/disable backlight. i removed the 10K resistor (pullup) and now the backlight turned off.
now i have in deep sleep (ESP and display) 400µA. without display i have 40µA
Update
the sleep of the display is now working. i included the function sleep in the library. in this function i call sendCommand(0x10)
turn off backlight is not working. pin BL of display is connected to pin 12 of the ESP32. when i set this pin to low and go in deep sleep the pin has a voltage of 0.9V and display backlight is on.
any ideas?