That creates a problem because if the pin drops lows after its exited the routine, the LED and POT0 value do not change.
I suppose if I add an IF THEN check in the main program loop to see if the pin is low and turn off the led and send 0 to the POT, that should fix that issue.
Bookmarks