-->
Page 1 of 1

Re: WEMOS D1 mini, GPIO16 curious...

PostPosted: Fri Oct 20, 2017 7:53 am
by rudy
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.

GPIO16 can be INPUT, OUTPUT, or INPUT_PULLDOWN_16

Re: WEMOS D1 mini, GPIO16 curious...

PostPosted: Fri Oct 20, 2017 6:21 pm
by QuickFix
Please also have a read in our Wiki (see at the top of the screen), for information about the ESP's GPIO's. :idea: