How about doing it this way? Now, every time around the checkit will read the pot and take care of the LED
Jerson
CHECKIT:
Pot GPIO.2,255,BO
IF BO>125 Then
LED=1 'LED ON WHEN BO>125,OFF WHEN BO<125
else
LED = 0
endif
GoTo CHECKIT
How about doing it this way? Now, every time around the checkit will read the pot and take care of the LED
Jerson
CHECKIT:
Pot GPIO.2,255,BO
IF BO>125 Then
LED=1 'LED ON WHEN BO>125,OFF WHEN BO<125
else
LED = 0
endif
GoTo CHECKIT
Bookmarks