avr/timer-demo.git
5 years agoMakefile: support unix builds master
Pat Thoyts [Fri, 3 May 2019 20:16:38 +0000 (21:16 +0100)]
Makefile: support unix builds

9 years agoTidied up and reduced the verbosity of the makefile.
Pat Thoyts [Wed, 12 Aug 2015 23:17:10 +0000 (00:17 +0100)]
Tidied up and reduced the verbosity of the makefile.

Note: on windows installed MinGW to get mingw32-make but the avr-gcc
compiler tools are provided from the Arduino IDE installation.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
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>