Page 1 of 1

Isolate pin before deep_sleep

Posted: Wed Mar 20, 2019 8:57 am
by osintaras
Hello!
Is there analog of esp-idf function rtc_gpio_isolate (https://docs.espressif.com/projects/esp ... gpio_num_t) in Arduino IDE?
How can i isolate pin 12 before entering deep_sleep mode https://yadi.sk/i/xNQ-hYgDsZWbYA (https://docs.espressif.com/projects/esp ... guring-ios)?

Re: Isolate pin before deep_sleep

Posted: Wed Mar 20, 2019 9:28 am
by ESP_Sprite
As the Arduino SDK is built on top of ESP-IDF, you should be able to use all ESP-IDF functions (like rtc_gpio_isolate) directly. Just make sure to include the correct header file.