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