bitluni / ESP32Lib

http://bitluni.net/esp32-vga/
450 stars 79 forks source link

Change resolution while running #35

Open gbach opened 4 years ago

gbach commented 4 years ago

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