Hi Darrel.
Thanks for looking at this. Well, I do have this line, just did not copy it when posting the thread.
The strange thing is that, if I use both ways, ADCin and register manipulation, it works!
Like this works fine:
Code:
high adcon0.0'=1
start:
adcon0.1=1
while adcon0.1:wend
hserout ["Adresh: ",#adresh,13,10]
pause 1000
adcin 0,i
hserout ["i: ",#i,13,10]
goto start
But not when modified to this:
Code:
high adcon0.0'=1
start:
adcon0.1=1
while adcon0.1:wend
hserout ["Adresh: ",#adresh,13,10]
pause 1000
'adcin 0,i
'hserout ["i: ",#i,13,10]
goto start
Cannot figure out why...
Ioannis
Bookmarks