|
Re: Interrupts, limit switches, and IR board
Quote:
Originally Posted by Don Rotolo
Just use a digital input, but remember that the input pin is pulled high (+5v weakly inside the RC, so what you need to do is connect the switch to ground on one side and the digital input pin on the other side. Also make sure the digital pin you use is really set up as an INPUT, not an output. (I also read that you need to enable the pull-up resistor, but I don't know enough to explain how, or if).
Don
|
If the input pin is pulled high internally, the circuit inside the RC already HAS a pull-up resistor.
|