1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Adding INPUT_PULLUP option pinMode(). (Paul Stoffregen).

This also changes pinMode(pin, INPUT); to explicitly disable the pull-up resistor, even if it was previously set.

http://code.google.com/p/arduino/issues/detail?id=246
This commit is contained in:
David A. Mellis
2012-01-02 14:20:28 -05:00
parent 5088b09f2d
commit 76c964d32b
3 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,7 @@
HIGH LITERAL1 Constants
LOW LITERAL1 Constants
INPUT LITERAL1 Constants
INPUT_PULLUP LITERAL1 Constants
OUTPUT LITERAL1 Constants
DEC LITERAL1 Serial_Print
BIN LITERAL1 Serial_Print