Skip to content

abcd-ca/Arduino_Melody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Melody library for Arduino

Arduino library created for convenient playing of melodies through a small piezo buzzer or speaker.

Instructions:

  1. Create a folder in your Arduino libraries folder called Melody and clone this repo into that folder. The root of your Melody folder should contain Melody.h and the other files from this repo.

  2. Restart your Arduino IDE for it to be able to recognize the library

  3. Create a new Arduino project. In it, paste the contents of /examples/example1.ino

  4. Wire up a piezo buzzer or speaker just like in this example: http://arduino.cc/en/Tutorial/Tone. (Make sure MELODY_PIN matches yoru wiring.)

  5. Run it. You should hear some tunes play.

About

Arduino library created for convenient playing of melodies through a small piezo buzzer or speaker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages