Difference between revisions of "Buzzer with AVR"
Line 12: | Line 12: | ||
=Objective= | =Objective= | ||
− | After blinking the leds and Controlling | + | After blinking the leds and Controlling them using switches, its time to make some noise using the buzzer. In the first part of the tutorial, we will beep the buzzer with a delay of 1sec. At the end we will control the buzzer using a switch. |
=Register Configuration = | =Register Configuration = |
Revision as of 17:14, 4 February 2016
Guru (talk) 20:00, 17 November 2015 (IST)
Contents
Objective
After blinking the leds and Controlling them using switches, its time to make some noise using the buzzer. In the first part of the tutorial, we will beep the buzzer with a delay of 1sec. At the end we will control the buzzer using a switch.
Register Configuration
Please refer the below tutorial for basics of GPIO register configuration.
Code
Buzzer Beep
Turn ON and OFF the buzzer with a delay of 1sec.
Wiring diagram