hello again am in a fix been trying to read the values of five ldr on the adc 0 to 5 and send the via serout to the axe 33 and am not sure if it hardware setup or my code could someone help please,
main:
for b0 = 0 to 63
readadc 0,b1
readadc 1,b2
readadc 2,b3
readadc 3,b4
readadc5,b5
pause 10
serout lcd,n2400,(254,128,"lft" ,#b1, " rgt",#b2," ")
serout lcd,n2400,(254,192,"top" ,#b3, " bot",#b4," ")
pause 10
next b0
goto main
i,ve set up the LDR's as the manual says.
the LDRS are set on another board and when i connect that board to the picaxe main board the the sreen apppears to to be reseting.
HELP PLEASE
rob,
main:
for b0 = 0 to 63
readadc 0,b1
readadc 1,b2
readadc 2,b3
readadc 3,b4
readadc5,b5
pause 10
serout lcd,n2400,(254,128,"lft" ,#b1, " rgt",#b2," ")
serout lcd,n2400,(254,192,"top" ,#b3, " bot",#b4," ")
pause 10
next b0
goto main
i,ve set up the LDR's as the manual says.
the LDRS are set on another board and when i connect that board to the picaxe main board the the sreen apppears to to be reseting.
HELP PLEASE
rob,