Go Down

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


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


Yes, either will work, depending on the version of IDE you have. INPUT_PULLUP only on later versions.
see the Arduino Release notes.
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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131