I set an interrupt at initialisation that works fine, however, it doesn't seem to reset. The code below works fine on the simulator but apparently not on the chip 08M.
Any thoughts.
Matthew
Interrupt:
high LED
low 1
low 2
If pin4 = 0 then Interrupt
Gosub Rl1OnTime
Gosub Rl2OnTime
Gosub RlInterval
GoSub SbCreateTimeLine
Intwait:
If pin4 = 0 then Intwait
SetInt %00000000, %00010000 'Identical to the code setting the original which works
low 0
'pause 2000
goto start
Any thoughts.
Matthew
Interrupt:
high LED
low 1
low 2
If pin4 = 0 then Interrupt
Gosub Rl1OnTime
Gosub Rl2OnTime
Gosub RlInterval
GoSub SbCreateTimeLine
Intwait:
If pin4 = 0 then Intwait
SetInt %00000000, %00010000 'Identical to the code setting the original which works
low 0
'pause 2000
goto start