Managed to get this part to work.

Code:
FOR ADchan = 0 to 3
        GOSUB GetADC
        pots(ADchan) = ADvalue/10
        SetPoints(ADchan) = pots(ADchan) 
        if SetPoints(ADchan) <200 then SetPoints(ADchan) = 200
        if SetPoints(ADchan) >500 then SetPoints(ADchan) = 500 
        LCDOUT $FE,$C0, dec pots(0)>>1,"   "
Now get a value between 0 and 818 when the pot is moved