Quote:
Originally Posted by dcb
In your code, you can use the internal pullup resistors via:
pinMode(pin, INPUT); // set pin to input
digitalWrite(pin, HIGH); // turn on pullup resistors
|
A little OT (and revealing my noobness on the topic)....
1) I didn't know what a pull up/down resistor was until recently.
2) This simple tutorial shows an external pull up resistor in a test button circuit.
http://www.arduino.cc/en/Tutorial/Button
So ... the external resistor isn't strictly needed for that tutorial?