|
Re: Real time clocks, out of the question?
In teaching timers I use a demonstration program to calculate all the possible timer prescaler/postscaler combinations for a given Hertz or time period. It's an easy beginner exercise to write such a program for the PIC (or VB), and also can be used to teach them about maintaining the Master processor communication leading to an easy elimination of the Master handshake.
Here's a sample output calculating 2400 Hz used with an LCD display off a digital output.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 27-02-2007 at 13:11.
|