Page 1 of 1

internal pull up/down

Posted: Wed Feb 06, 2019 8:13 am
by georgecarlo
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.

Re: internal pull up/down

Posted: Wed Feb 06, 2019 12:40 pm
by ESP_krzychb
Hello georgecarlo,

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