This preview shows page 1. Sign up to view the full content.
Unformatted text preview: II: Based on video lecture: “Timers and Counters – Part 1”
What is the difference between a timer and counter within the context of this course?
Write the code to set up (initialize) TIMER0, so an interrupt is being generated every
Given the initialization in Problem 3, write an Interrupt Service Routine (ISR) that
toggles the LED connected to pin RC4. 1 PART III: Based on video lecture: “Timers and Counters – Part 2”
Given the following circuit: Suppose we want to write a program that toggles the red LED every 30 pushes of the
push button and toggles the green LED every 60 pushes (= 2*30 pushes) of the pus...
View Full Document
This document was uploaded on 01/22/2014.
- Fall '14