Still need help (Darrel ??)
Code:
FOR ADchan = 0 to 3
GOSUB GetADC
pots(ADchan) = ADvalue
SetPoints(ADchan) = (Advalue / 100)
if SetPoints(ADchan) <200 then SetPoints(ADchan) = 200
if SetPoints(ADchan) >500 then SetPoints(ADchan) = 500
NEXT ADchan
and
Code:
LCDOUT $FE,$C0, DEC pots(0)>>1," "
Gives a value on the LCD of between 1 and 8184 as the pot is turned from one extreme to the other
however
Code:
LCDOUT $FE,$C0, DEC SetPoints(0)>>1," "
Gives a static number, of 100 regardless of what position the pot is set to
I would also like to know what to change to get the PC display to show the value of the setpoints - it still remains the same value (26 degrees) set by EE_setpoint value in the initial stages even though I've changed the setmode to manual
Bookmarks