Is it possible to change the panels configurations on the fly? #158
Replies: 2 comments 2 replies
-
At this stage not possible for all configuration changes, especially for things like clkphase which are defined on DMA setup once only. Such dynamic changes aren't really required - but I see your point in iterating through all configuration to find the one that works? Cleanest solution may be to simply iterate through config after a esp.reboot() or something. Use EEPROM to store the last configuration state tested. |
Beta Was this translation helpful? Give feedback.
-
Yep. The library allocates the DMA hardware and memory etc. on setup once. Once up and running / allocated there's no going back. Other than brightness and latch blanking, everything else is set on boot once via. the 'mxconfig' HUB75_I2S_CFG struct. |
Beta Was this translation helpful? Give feedback.
-
I'm just wondering is it possible for a sketch to change its panel configurations on the fly, or would the board need to be restarted in between?
I'm looking at making some of my examples available using the web flasher (Visit website, plug in your ESP32, click flash, no installation of Arduino or even libraries needed) and I'm just wondering what options are available for the config part.
I made a basic version on a gist to test it and it doesn't work past the first one, display goes blank, doesn't even reach line 121.
https://gist.github.com/witnessmenow/f05c3326415325a22f436f00f6dab0cb
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions