Quote:
|
Originally Posted by stephenthe1
...the value I use to reference it in the code (rc_dig_in08 == 0) when it is released, does not recognize that it is released. It recognizes in the code when it changes to one, though (rc_dig_in08 == 1) when it is pressed, but upon release, it doesn't change back to zero...
|
If you have the switch wired properly, between SIG and GND, the digital input will read
1 when the switch is
open, and
0 when the switch is
closed.
Please post the part of the code that isn't doing what you expect it to do.