i have 2 module of axe 210 when i connect one to max32 to pc and the other one is fitted with picaxe and i use an LDR as an input the reading on the terminal is fine its transmiting and reciveing ok .. but when i connect picaxe to picaxe and i place one LED as an output many problems happens like the led sometimes work sometimes doesnt sometimes it keeps on blinking
anyway i used this code as a test
picaxe A
init:
high 7
pause 100
main:
readadc 0,b0
serout 7, T2400, ($55,$55,b0)
pause 1000
goto main
picaxe B
main:
serin 7, T2400, ($55,$55),b0
debug
test_LDR:
if b0 > 40 then LDR_high
low 0
goto main
LDR_high:
high 0
goto main
is this code alright ,becoz i dunno wuts the problem
anyway i used this code as a test
picaxe A
init:
high 7
pause 100
main:
readadc 0,b0
serout 7, T2400, ($55,$55,b0)
pause 1000
goto main
picaxe B
main:
serin 7, T2400, ($55,$55),b0
debug
test_LDR:
if b0 > 40 then LDR_high
low 0
goto main
LDR_high:
high 0
goto main
is this code alright ,becoz i dunno wuts the problem