patricktran
New Member
Hi there,
I reckon we have totally 3 types of delay that can be implemented in a PIC 16F877.
1. Busy loop
2. TMR0
3. TMR1
Asume that we use 4Mhz cyrstal and the delay of 1 sec is desired. I get so confused about the ways of calculating the delay. Not the code, just the way people think of the numbers. Can someone please give an example of calculation the delay of 1 sec?
Thanks
I reckon we have totally 3 types of delay that can be implemented in a PIC 16F877.
1. Busy loop
2. TMR0
3. TMR1
Asume that we use 4Mhz cyrstal and the delay of 1 sec is desired. I get so confused about the ways of calculating the delay. Not the code, just the way people think of the numbers. Can someone please give an example of calculation the delay of 1 sec?
Thanks