Programming: Push Button Switch to Change LED Blink Delay

How to make a program for the Atmel AVR microcontroller using a push button to change the delay that an LED is blinking. The program uses the util/delay.h library and _delay_ms(delayAmount) function. Two delays are used: a 10 millisecond delay and a 100 millisecond delay.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.