Isolate pin before deep_sleep

osintaras
Posts: 1
Joined: Wed Mar 20, 2019 8:51 am

Isolate pin before deep_sleep

Postby osintaras » Wed Mar 20, 2019 8:57 am

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)?

ESP_Sprite
Posts: 9051
Joined: Thu Nov 26, 2015 4:08 am

Re: Isolate pin before deep_sleep

Postby ESP_Sprite » Wed Mar 20, 2019 9:28 am

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.

Who is online

Users browsing this forum: No registered users and 128 guests