Can you help me to write a macro which generates a one seconds delay by using Timer1 or Timer0 ? In other words, I have tried to write a macro for 1 seconds delay but I could not manage it .Why I am trying to write a macro is because I will use that macro in several place.
If you know more about timer, can you give me general formule when time is calculated ?
pic16f8xx 4MHZ MPLAB simulation = 5 MHZ
"... [I] actually don't just want a delay, but using interrupts to execute a task later when 1 second has passed while doing other things in the meantime. .."