WiFi.disconnect(false) // Reconnect the network WiFi.disconnect(true) // Disconnect from the network your device can't go to hibernate modeĮsp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1) Pay attention to this command, with this wake up source Serial2.println("DEEP SLEEP ENABLED FOR 5secs") Įsp_sleep_enable_timer_wakeup(5 * 1000 * 1000) Serial2.print("Initial Variable value = ") SerialBT.begin("ESP32test") //Bluetooth device name
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |