internal pull up/down

georgecarlo
Posts: 16
Joined: Fri Jan 18, 2019 5:55 am

internal pull up/down

Postby georgecarlo » Wed Feb 06, 2019 8:13 am

Hello people,

Im using idf in linux to program the esp32. i need to use internal pull up/down, i searched the guide and am confused with the parameters to use with gpio_set_pull_mode. Kindly explain how to use this function with parameters. i need pull down and im using pins 32,27,12,15

Thanks.

User avatar
ESP_krzychb
Posts: 394
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: internal pull up/down

Postby ESP_krzychb » Wed Feb 06, 2019 12:40 pm

Hello georgecarlo,

Have you tried:
  1. gpio_set_pull_mode(32, GPIO_PULLDOWN_ONLY);
  2. gpio_set_pull_mode(27, GPIO_PULLDOWN_ONLY);
  3. ...

Who is online

Users browsing this forum: No registered users and 105 guests