Anyone know code for measuring a pulse from a 555 timer?
Any help would be much appreciated?
Below is the code i have at the minute
#use delay (clock = 4000000)
#byte PORTC = 7
#bit INPUT = PORTC.0
setup_timer_1(T1_INTERNAL , T1_DIV_BY_1);
long int PERIOD;
set_tris_c (0x01); // setting up ports
PERIOD = get_timer1();