Équivalent ESP-IDF de la fonction Arduino ESP.restart()
La fonction Arduino ESP.restart() est utilisée pour redémarrer l’ESP32. Dans ESP-IDF, vous pouvez obtenir la même fonctionnalité en utilisant la fonction esp_restart().
esp_restart_example.cpp
#include <esp_system.h>
void myFunc() {
// ...
esp_restart();
}If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow