in order not to open a new topic I have another question here I want a timer to tick between 1 Hz and 10 KHz is there an example for this ? ( how to calculate prescaler and reload register for this job ? )
in order not to open a new topic I have another question here
I want a timer to tick between 1 Hz and 10 KHz
is there an example for this ? ( how to calculate prescaler and reload register for this job ? )
I think I've posted examples before. The basic formula, f = CLK / (p * q), where Prescaler = (p - 1), Period = (q - 1), and where q = less than 65536 I'll post some other examples in a bit.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..