Timer Interrupt
Posted: Tue Jul 09, 2024 11:32 am
Hi Guys
If I'm using timer interrupt 4 on a PIC18F46K80 which is set to 125 Hz how do i work out how many times it will need to call the macro to give me a 1 second pulse? I worked out about 8000 but when i tried it and tried to count to 30 minutes (1800 seconds) it was not very accurate. Any help will be much appreciated
If I'm using timer interrupt 4 on a PIC18F46K80 which is set to 125 Hz how do i work out how many times it will need to call the macro to give me a 1 second pulse? I worked out about 8000 but when i tried it and tried to count to 30 minutes (1800 seconds) it was not very accurate. Any help will be much appreciated