Hoping this is just a doh! issue. I run the Simulator in the Picaxe programming editor and I can get C.0 and B.2 to go high but not the others! Cannot work out why. I am using a 14M2
Thanks
Thanks
Code:
' PICAXE-14M2
' Serinhandle.bas
Symbol status = b20
main:
serin C.5,N2400, status
if status = %01000000 then high C.0
endif
if status = %00100000 then high C.4
endif
if status = %00001000 then high C.2
endif
if status = %00000100 then high C.1
endif
if status = %00000010 then high B.1
endif
if status = %00000001 then high B.2
endif
pause 1000
let pinsC = %00000000
pause 200
let pinsB = %00000000
goto main