User Manual

71
/
223
Wiring the buzzer connected to the MEGA2560 R3 board, the red (positive) to the
pin8, black wire (negative) to the GND.
Code
After wiring, please open the program in the code folder- Lesson 7 Passive Buzzer and
click UPLOAD to upload the program. See Lesson 2 for details about program
uploading if there are any errors.
Before you can run this, make sure that you have installed the <pitches> library or
re-install it, if necessary. Otherwise, your code won't work.
For details about loading the library file, see Lesson 1.
Example picture