AVR Development Board – AVR-DK20A User Manual
27
6.3 Experiment 3 – Drive Buzzer ON and OFF
Jumper Setting:
LK1 (A0-
BZ
)
Port Setting :
Set Port A bit 0 as output
Objective:
Create a project, set the buzzer on and off with delay.
Flow Chart:
Expected Result
You will hear the buzzer On and Off.
Start
Initialize I/O
Infinity Loop
Set all buzzer ON
Delay
Set all buzzer
OFF
Delay