thelastoutpostworkshop / gpio_viewer

GPIOViewer Arduino Library to see live GPIO Pins on ESP32 boards
https://youtu.be/JJzRXcQrl3I
MIT License
1.07k stars 110 forks source link

Changing board does not update pin values until value changes #51

Closed plrfishing closed 10 months ago

plrfishing commented 10 months ago

Issue is the pin values are not updated when the board selected is changed. If I start with the Generic View then change to ESP32-VROOM-32 board with either 30 or 38 pin the status is not updated until a pin status is changed for all the pins. Seems when different board is selected all the pin values need to be updated for the current state.

Otherwise the code is working great. I can change the sampling interval inside the main LOOP as conditions change.

Thank you.

thelastoutpostworkshop commented 10 months ago

Yes that is the current behavior, I will add the fix in the next release

thelastoutpostworkshop commented 10 months ago

I have made the fix in the web application, it's now live.

plrfishing commented 10 months ago

Thanks for the fix and it does work properly changing board selection dropdown.