Re: ESP32 TFT display library
Posted: Sat Dec 09, 2017 12:34 pm
@Vader_Mester
I'm planning to implement the capacitive touch driver for a long time. I have the same ER-TFTM035-6 with capacitive touch, just never had a time to do it. I'll try to add it this month.
I have plans to implement a kind of simple transparency for images where you could define a color which is considered as "transparent".
It will require reading the background display data, so all operation will need twice the time to complete.
I'm also working on a special kind of images (sprites) limited to 64x64 pixels which will be the raw RGB bitmaps with transparency.
They will be buffered in memory (or you can have them included in Flash as constant data) and the drawing will be much faster than bmp or jpeg. The functions for moving the sprites will also be implemented.
I think it will satisfy your need for icons with rounded corners.
I don't know why I haven't included the TFT_dispOff/TFT_dispOn functions, I'll do it in next update.
As @kearins mentioned, it is probably better to have the display always on. If you are concerned about "Burn-in and ghosting effects", you could easily add a kind of screensaver (fill screen with random color or objects) combined with some motion detection sensor like HC-SR501, HC-SR505 or AM312.
@kearins
In one of my applications I have light and proximity sensors controlling the display. It is easy to implement, I'm not shure if it would be usefull to have it in this library.
I'll probably add the TFT_backlight(uint8_t val) function which will use PWM to controll the brightness.
I'm planning to implement the capacitive touch driver for a long time. I have the same ER-TFTM035-6 with capacitive touch, just never had a time to do it. I'll try to add it this month.
I have plans to implement a kind of simple transparency for images where you could define a color which is considered as "transparent".
It will require reading the background display data, so all operation will need twice the time to complete.
I'm also working on a special kind of images (sprites) limited to 64x64 pixels which will be the raw RGB bitmaps with transparency.
They will be buffered in memory (or you can have them included in Flash as constant data) and the drawing will be much faster than bmp or jpeg. The functions for moving the sprites will also be implemented.
I think it will satisfy your need for icons with rounded corners.
I don't know why I haven't included the TFT_dispOff/TFT_dispOn functions, I'll do it in next update.
As @kearins mentioned, it is probably better to have the display always on. If you are concerned about "Burn-in and ghosting effects", you could easily add a kind of screensaver (fill screen with random color or objects) combined with some motion detection sensor like HC-SR501, HC-SR505 or AM312.
@kearins
In one of my applications I have light and proximity sensors controlling the display. It is easy to implement, I'm not shure if it would be usefull to have it in this library.
I'll probably add the TFT_backlight(uint8_t val) function which will use PWM to controll the brightness.