Know switch position
Posted: 25 January 2008, 7:31 AM
I have a SPST switch wired to a port such that the port sees 0V if the switch is open and +5V if the switch is closed. When the ZX-24 is initialized there is no way to know which position the switch is in. How do I configure the port as an input? I want to watch the switch until the user sets it to a desired position.
Any enlightenment will be appreciated.
Vic
Any enlightenment will be appreciated.
Vic