Hi All,
As mentioned in Micro python documentation for esp32 for GPIO "in most cases only pins 0, 2, 4, 5, 12, 13, 14, 15, and 16 can be used."
Can we increase or change this for eg:- I want to use GPIO36 as input or output pins ?
Thank you in advance.
changing GPIO36 pins as INPUT or OUTPUT
Re: changing GPIO36 pins as INPUT or OUTPUT
The sentence you cite applies to the ESP8266. The ESP32 GPIO can be used without limitation by MIcroPython. You have to consider however, that some GPIO Pin are Input only, like GPIO34 - GPIO39.
Edit: FIxed
Edit: FIxed
Re: changing GPIO36 pins as INPUT or OUTPUT
GPIO 34-39 are input only.
Re: changing GPIO36 pins as INPUT or OUTPUT
[quote=loboris post_id=29815 time=1535987926 user_id=923]
GPIO [b]34-39[/b] are input only.
[/quote]
Thank you I got the point now
Appreciate your input
GPIO [b]34-39[/b] are input only.
[/quote]
Thank you I got the point now
Appreciate your input
Re: changing GPIO36 pins as INPUT or OUTPUT
[quote=Roberthh post_id=29814 time=1535987091 user_id=601]
The sentence you cite applies to the ESP8266. The ESP32 GPIO can be used without limitation by MIcroPython. You have to consider however, that some GPIO Pin are Input only, like GPIO34 - GPIO39.
Edit: FIxed
[/quote]
Thank You
It helped.
The sentence you cite applies to the ESP8266. The ESP32 GPIO can be used without limitation by MIcroPython. You have to consider however, that some GPIO Pin are Input only, like GPIO34 - GPIO39.
Edit: FIxed
[/quote]
Thank You
It helped.
Re: changing GPIO36 pins as INPUT or OUTPUT
Not only is GPIO36 an input-only pin, it also does NOT feature pull-up/down resistors:
Note 2
The following pins are input-only. These pins do not feature an output driver or internal pull-up/pull-down circuitry: SENSOR_VP (GPIO36),
SENSOR_CAPP (GPIO37), SENSOR_CAPN (GPIO38), SENSOR_VN (GPIO39), VDET_1 (GPIO36), VDET_2 (GPIO36).