bitluni/ESP32Lib

Change resolution while running

Opened this issue · 0 comments

gbach commented

Your VGA-Lib is pure wizardry!
I am trying to change the resolution while the system is running (using setResolution).
But it does not change the resolution it self and seems to allocate new frameBuffers - which causes the ESP32 to crash after 2 calls.
It would be nice to have the possibility to change the Y-resolution e.g. switch between MODE400x300 and MODE 400x150. ("hires/no-back-buffer" or "lowres/with-back-buffer")
Is this possible? Or can you give me a clue how to implement this.
As I understood from reading the code the I2S really pumps directly the content of the active frameBuffer to the pins (including the sync-signals).
Keep up the good work!
Gunter