Go Down

Topic: Why wont my UNO respons to a pulled down LOW input? (Read 968 times) 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. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

ArdGuy


Go Up