Hello.

I want to read value of potentiometer into that MCU. here's sample code.

Code:
RC var GPIO.0
test var gpio.5
RESULT VAR WORD

:mainloop
HIGH RC
PAUSE 1
pot RC,100,result
pulsout test,result
goto mainloop
the all hook-up is done according to manual. But it does not works, I've hooked oscilloscope to test pin - see no pulses here when I adjust pot.