
Programming and Result: Using the Timer/Counter to Create Chasing LEDs
The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, a set of LEDs (14 in all) is connected to PORTB and PORTD and will produce a chasing effect every second and every 7th of a second using the TCNT1 timer/counter.
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.