opposite to gpio_pad_select_gpio ?

Reiner1210
Posts: 39
Joined: Tue Mar 20, 2018 6:28 pm

opposite to gpio_pad_select_gpio ?

Postby Reiner1210 » Mon Apr 09, 2018 9:53 pm

Is there a "deselect" function for gpio_pad_select_gpio so say that the PIN is no longer used as a GPIO ?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: opposite to gpio_pad_select_gpio ?

Postby WiFive » Tue Apr 10, 2018 3:11 am

For what reason? You could try gpio_set_direction(GPIO_NUM, GPIO_MODE_DISABLED)

Who is online

Users browsing this forum: No registered users and 109 guests