Quote:
Originally Posted by tdlrali
Thanks guys, I'll look into those options. The only reason we don't want to use analogs is because we're really just looking for on vs. off, and the additional sampling required for using an analog input is overkill.
|
Building custom circuitry, when the an analog input can get your
on-off state is overkill. We ran out off digital inputs this
year and needed one more. We wired the switch to a
pullup resistor and an analog input, coded to set a variable to 0 when
the voltage was below 2.5 volts and to 1 when the voltage was
above. It worked just fine.
Eugene