avr/timer-demo.git
9 years agoImplemented a 'breathe' style pulse pattern for the PWM LED.
Pat Thoyts [Wed, 12 Aug 2015 23:15:53 +0000 (00:15 +0100)]
Implemented a 'breathe' style pulse pattern for the PWM LED.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
9 years agoDemo configuration of AVR timer and PWM.
Pat Thoyts [Wed, 12 Aug 2015 11:16:49 +0000 (12:16 +0100)]
Demo configuration of AVR timer and PWM.

Demonostrates the initialization of a timer for 1ms resolution interrupts
and also shows the control of PWM frequency using timer 1.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>