Difference between revisions of "Buzzer with AVR"
Line 27: | Line 27: | ||
=Code= | =Code= | ||
+ | ==Beep== | ||
=Wiring diagram= | =Wiring diagram= |
Revision as of 16:37, 4 February 2016
Guru (talk) 20:00, 17 November 2015 (IST)
Objective
After blinking the leds and Controlling tnem with switches, its time to make some noise using the buzzer. In the first part of the tutorial, we will beep the buzzer every 2secs. 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
Beep
Wiring diagram