CP316: Microprocessor Systems and Interfacing
Timers
PostLab
- Modify one of your timer programs so that
it uses good programming practices to make the code easier
to read and maintain. In particular,
make sure that there are no magic numbers, even where you
do all of your initialization.
Paste this in your lab notebook. (You don't have to paste in the
sections that are unchanged; only show the changes.)
Show your lab notebook with the pasted code or hand in a
copy of the code
at the next
lab.
Wilfrid Laurier University
© 2019 Wilfrid Laurier University