I'm trying to simulate the timer circuit in Proteus. I've run into the problem that the code seems to get stuck waiting for GP2 to go high, even though it is going high from the simulated pulse generator.
I've tried compiling in MPLAB X with MASM and also tried loading the compiled hex files from Nyemi.
Anyone have any ideas what could be causing it? (besides the foolishness of simulating a circuit that I have sitting in front of me DOH!)
It keeps looping here...
Label_0003 BTFSC GPIO , GP2 ;BTFSC = wait for high pulse on Hall switch (-_+).
GOTO Label_0002 ;BTFSS = wait for low pulse on Hall switch (+_-) Alterable!!