evening all,
Am testing some some adc values using a 20x2 and noticed that this code
works as it does,when put though the P.E x2 conversion wizard changes the assigned pins
the wizard changed the adc pins, and am not sure but the adcsetup does'nt correspond to the pin?
am running P E 5.4.2
rob
Am testing some some adc values using a 20x2 and noticed that this code
Code:
#picaxe 20x2
#no_data
main:
do
pause 10
high c.0
high c.4
readadc 9,b1
readadc 7,b2
readadc 1,b3
readadc 2,b4
debug
loop
Code:
#picaxe 20x2
' Converted by X2 Conversion Wizard Version 2.0.5 (2010r4.1)
let dirsB = %11111111
let adcsetup = %0000001100001000
main:
do
pause 10
high c.0
high c.4
readadc 9,b1
readadc 3,b2
readadc 9,b3
readadc 8,b4
debug
loop
am running P E 5.4.2
rob