when reading the state of the outputs into b0 for example on a 28x1, the value will show in b0 when simulated
when trying it for 28x2, b0 remains at zero in the sim...(page 2 of the x2 product briefing shows the syntax)
not at home so can't try it on an actual chip at the moment...
Code:
#picaxe 28x1
let outpins =%10101010
pause 2000
readoutputs b0
pause 2000
when trying it for 28x2, b0 remains at zero in the sim...(page 2 of the x2 product briefing shows the syntax)
Code:
#picaxe 28x2
let dirsB = %11111111
high B.7,B.6,B.5,B.4
pause 2000
let b0=outpinsB
pause 2000
not at home so can't try it on an actual chip at the moment...