Page 1 of 1
Readstate macro - switch component
Posted: Wed May 30, 2007 11:51 pm
by Ron
Hi,
Is the purpose of the READSTATE macro to simply allow us to test a "de-bounced" switch contact?
Wait until high
wait until low
I are straight forward.
Thanks
Ron
Posted: Thu May 31, 2007 9:16 am
by Benj
Hello Ron
This is taken from the Flowcode help file.
ReadState (BYTE WhichSwitch)
This macro reads the state of a single switch, specified by the BYTE parameter WhichSwitch. The macro returns a BYTE value of 0 if the switch is open or 1 if the switch is closed.
Posted: Thu May 31, 2007 11:50 am
by Ron
Hi,
Sorry about that. I am so use to using HELP - Indexes so I can search, when I could not find anything via search I just automatically posted.
I will spend some time reading through the contents. It would be nice if there was a way to search from indexes through everything in the help file.
Just old habits I guess.......
Thanks
Ron