Re: WEMOS D1 mini, GPIO16 curious...
Posted: Fri Oct 20, 2017 7:53 am
pinMode(16, INPUT_PULLUP)
This does not work for pin 16. It is an exception. It does not have a pull up option, it has a pull down.
pinMode(16, INPUT) and use an external pull up resistor.
This does not work for pin 16. It is an exception. It does not have a pull up option, it has a pull down.
pinMode(16, INPUT) and use an external pull up resistor.
GPIO16 can be INPUT, OUTPUT, or INPUT_PULLDOWN_16