Ohhhh... you already thought of that.. lol. yeah,im great at interpreting this stuff..
What we did was hook the 555 into one of the digital inputs and just stuck this into the main program loop..
timer_in VAR rc_sw1
timer VAR byte
last_time VAR misc_varible.bit0
if timer_in <> last_time then
timer = timer + 1
last_time = timer_in
endif
Hmm.. im sure you can do that in a PIC too somehow..