SrSul
Newbie level 3
Hello,
I am pretty much a noob when it comes to PIC's, i just started and i am obligated to use C18 as a compiler, also I'm having a rough time understanding the whole concept of interrupts on PIC's, but i think I'm good with those now.
Q:What do I want to achieve?
A:I want to generate an interrupt once every 1sec using timer1 or timer3
I am using a PIC18F4620 with 10.000.000Hz external clock, and writing code in C.
I have managed to generate interrupts using the timer0 every 1sec but these other timers are totally different and i don't really understand them.
If anyone could help me configure the registers i need, i would be very grateful.
Thank you
I am pretty much a noob when it comes to PIC's, i just started and i am obligated to use C18 as a compiler, also I'm having a rough time understanding the whole concept of interrupts on PIC's, but i think I'm good with those now.
Q:What do I want to achieve?
A:I want to generate an interrupt once every 1sec using timer1 or timer3
I am using a PIC18F4620 with 10.000.000Hz external clock, and writing code in C.
I have managed to generate interrupts using the timer0 every 1sec but these other timers are totally different and i don't really understand them.
If anyone could help me configure the registers i need, i would be very grateful.
Thank you