Simple way how to reboot ESP32 in Arduino or PlatformIO
Just use
example.cpp
ESP.restart();
This will immediately reboot the ESP32 controller
Check out similar posts by category:
Arduino, ESP8266/ESP32, PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow