Bruce:

Thanks var word
loop:
thanks=$FFFF '


it works, now I need to adjust the code because the led dont work as expected, but I put a serout after the adcin and the terminal reads the different values OK!!!

goto loop