Cheers nigel
i have another question though
i've got a pic program reading an input pulsed signal. clock frequency is set at 4MHz, prescaler at 16. I'm pretty sure i've read a value into the timer register which is between 2.078ms - 2.094ms. The thing is i want to set a tolerance level in my program by maybe subtracting what is in the timer register from maybe 2.1ms max and 2.05 min and checking the status register's carrier flag.
Problem is i don't know the hexadecimal value to put in for 2.05ms and 2.1ms. I do realize this may be a stupidly easy question