Code:
myVar VAR BYTE

For myVar = 0 to 255
  LCDOUT $FE, 1, #myVAR
  PAUSE 1000
NEXT