Good Day.
I know there is a really simple answer to this one. But the flu has hit me to an extent where my brain does not want to do much.
What I am trying to do is work out how many times in 1 second Timer0 will generate an overflow interrupt, if the Osc is running at 16Mhz.
My intent is to make a phase angle dimmer, and I would like to calculate the time to fire the triac using timer interrupts. But I am stumped.
What is the correct formula using:
Osc Frequency, Prescaler, Counter Bits (8/16), to work out the overlflows per second.
Here is how far I got, until I got stumped :
Thanks.
P
