|
Re: rc_dig_in help?
How are you trying to define an input as zero? What circuitry are you connecting to the input pin?
When you read a digital input, the value you get depends on the voltage on the pin. Ground gives you a zero, and +5 volts gives you a one. The RC input pins have pullup resistors built in, so a pin with no connection is the same as a pin with +5 volts supplied to it.
|