circuit to reset, upload firmware and update firmware using a button
-
- Posts: 1
- Joined: Thu Jan 20, 2022 4:32 pm
circuit to reset, upload firmware and update firmware using a button
Hello! I want to make a project where I can reboot, upload and update the firmware of the esp32 using a single button, that is, if I press once the button reboots, if I keep pressed it uploads, if I press the button twice it does the firmware update, Does anyone have an idea how I can do it?
-
- Posts: 9770
- Joined: Thu Nov 26, 2015 4:08 am
Re: circuit to reset, upload firmware and update firmware using a button
Sounds simple: read the button every 100ms or so (or use a GPIO interrupt), write some logic to detect those things, call the correct routines to reboot/upload/OTA. What specifically are you having issues with?
Who is online
Users browsing this forum: No registered users and 85 guests