Switch is working reverse. (UP is DOWN! ON is OFF! 1 is 0? ) --> ok rotate it and programing invert mode.
WaitUntilLow function working invert, not work fairly.
Why? How to repair this? I can help in correcting this problem?
Just testing in the simulator.
( I am now in touch tester.