Joe,

This addition/substitution compiles okay but I have not tried on an actual chip. Let us know.

X var byte

For X = 0 to 3
pot portb.0[X],255,B0
serout lcd,N2400, [254,1]
serout lcd,N2400, ["sensor",#X,#B0]
pause 1000
Next X

(You also do not have Start: defined for the goto Start line of your program)

Good Luck,

Paul Borgmeier
Salt Lake City, Utah
USA