I would probably suggest to use a button to exit this Setpoint mode, unless you'll need to do everything really fast... which is almost impossible.
Basically, just loop in Setpoint utill a specific button have been pressed Should work. Something like...
Code:
SetSetPoint:
LCDOut $FE,1, "Setpoint at", #SetPoint, "F"
if Incr = 1 then 'change the setpoint
pause 100
SetPoint=SetPoint+1
if Setpoint>80 then SetPoint=60 'Allow setpoint from 60 to 80
'
'
goto SetSetPoint ' Refresh LCD display
endif
If YourSpecificButton= NotPressed then goto SetSetPoint
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks