Still need help (Darrel ??)
andCode: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
Gives a value on the LCD of between 1 and 8184 as the pot is turned from one extreme to the otherCode:LCDOUT $FE,$C0, DEC pots(0)>>1," "
however
Gives a static number, of 100 regardless of what position the pot is set toCode:LCDOUT $FE,$C0, DEC SetPoints(0)>>1," "
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