BeanieBots
Moderator
PE V5.3.2
40X2 firmware B.3
The following code does not behave as expected in either silicon or simulation.
pinsB reports the expected value but flags reports as follows:-
B.0 activated = 10 (as expected)
B.1 activated = 10 (expected 11)
B.2 activated = 12 (as expected)
Something I'm doing wrong or a bug?
40X2 firmware B.3
The following code does not behave as expected in either silicon or simulation.
Code:
#picaxe 40x2
flags=0
hintsetup %01110111
setintflags %00001000,%00001000
do:loop
interrupt:
setintflags %00001000,%00001000
sertxd (#flags," ",#pinsB,cr,lf)
flags=0
return
B.0 activated = 10 (as expected)
B.1 activated = 10 (expected 11)
B.2 activated = 12 (as expected)
Something I'm doing wrong or a bug?
Last edited: