These are chat archives for esp8266/Arduino
Before I go all in on an insane quest to write a “web interface to end all web interfaces” you know, that ideal IoT interface that switches between AP and STA, using me-no-dev’s async web server, I have one question:
I am using a timer0 in DMD2, I’ve tried every variation of software timer I am aware of at my amateur level of knowledge and it’s just not going to work, the display needs to be refreshed constantly to work and any timing gliches will show up on the display.
Currently, this cannot co-exist with anything that blocks execution (obviously), and I’d really REALLY like to be able to have a web interface on this thing that is always available and will smartly manage wifi in much the way that wifimanager does.
Is there something surprisingly simple that I’m missing? Some safety check for ISRs that I can wrap around it that will prevent execution of the ISR for the fraction of a second or so that the ESP is doing other vital things such as the various housekeeping functions that I assume I’m falling afoul of?
I’m kind of at my wit’s end here, I probably don’t have the full knowledge and expertise required to write this monster of an ideal web interface that can be always available and co-exist with one annoying timer interrupt… I’m just really not sure where to go from here.
I’m starting to think I should have offloaded the display stuff to a separate micro, even though I think that’s a copout and would basically make this project of mine a complete waste of time so far.