Page 1 of 1

opposite to gpio_pad_select_gpio ?

Posted: Mon Apr 09, 2018 9:53 pm
by Reiner1210
Is there a "deselect" function for gpio_pad_select_gpio so say that the PIN is no longer used as a GPIO ?

Re: opposite to gpio_pad_select_gpio ?

Posted: Tue Apr 10, 2018 3:11 am
by WiFive
For what reason? You could try gpio_set_direction(GPIO_NUM, GPIO_MODE_DISABLED)