Hi!
I'm new to the PICAXE world and have just completed my first 08M project - but I discovered what I can only think is an anomaly with the simulator whilst doing it.
If anyone can tell me whether the following is the expected behaviour?
I have a setint 000000, 001000 instruction that simply looks for a low value on C.3 at which point the interupt routine resets things.
During simulation, even though the pin is clicked (and goes yellow) and the pinsC clearly shows 001000 (decimal 8) on the simulation panel the interupt routine is followed. This happens everytime. My interpretation is that the interupt should only be triggered when the c.3 value is zero not 1.
During actual program execution (on the chip) this does not happen (I'd know because a beeper goes off when the interupt routine runs) and everything works "as expected".
So, as it works in real life but not on the simulator does anyone know whether this is a known issue or is there something I ought to do?
Best Regards
Ralph Bacon
I'm new to the PICAXE world and have just completed my first 08M project - but I discovered what I can only think is an anomaly with the simulator whilst doing it.
If anyone can tell me whether the following is the expected behaviour?
I have a setint 000000, 001000 instruction that simply looks for a low value on C.3 at which point the interupt routine resets things.
During simulation, even though the pin is clicked (and goes yellow) and the pinsC clearly shows 001000 (decimal 8) on the simulation panel the interupt routine is followed. This happens everytime. My interpretation is that the interupt should only be triggered when the c.3 value is zero not 1.
During actual program execution (on the chip) this does not happen (I'd know because a beeper goes off when the interupt routine runs) and everything works "as expected".
So, as it works in real life but not on the simulator does anyone know whether this is a known issue or is there something I ought to do?
Best Regards
Ralph Bacon
Last edited: