The setup is a bit goofy in my mind, but if it works for you, great...
This is the way I'd do it (keep in mind I don't have my 'stuff' handy, so the register setup might be off)
Code:
secs var byte : mins var byte : dummycounter var byte
clear
option_reg = %10000111 : intcon = %10110010
goto skip_ints_and_subs
on interrupt goto int_handle
disable
int_handle:
intcon.2 = 0
secs = secs + 1
if secs = 10 then
mins = mins + 1 : secs = 0 : high portb.0 : pause 1 : low portb.0
'1ms? sure you'll see the pulse?
endif
if mins = 5 then
mins = 0 : secs = 0 : high portb.2 : pause 5 : low portb.2
'5ms? probably won't see this pulse either
endif
resume
enable
skip_ints_and_subs:
dummycounter = dummycounter + 1
goto skip_ints_and_subs
Again, check your pulse length on the LED flash. Increase it maybe.
Bookmarks