Go Down

Topic: Why wont my UNO respons to a pulled down LOW input? (Read 1 time) previous topic - next topic

ArdGuy

Can I use both your ways of setting these pins as INPUT - HIGHS?

CrossRoads

Yes, either will work, depending on the version of IDE you have. INPUT_PULLUP only on later versions.
see the Arduino Release notes.
http://arduino.cc/en/Main/ReleaseNotes
1.0.1 added the pinMode(pinX, INPUT_PULLUP); option.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Go Up