Make noise with a piezo buzzer. Use a digital out pin.

Fork of beep by Peter Drescher

This is a simple non blocking library to turn on the pin passed into the constructor for the amount of time specified when calling the beep(float time) function.

I use it to turn on a buzzer but it could be used for anything you need to turn on for a set time.

Changes

RevisionDateWhoCommit message
5:372aa7360db7 2014-02-22 joe4465 commit before library update default tip
4:d8e14429a95f 2012-09-11 dreschpe change beep.c to beep.cpp to avoid compiler problems
3:5a8242af60ba 2011-02-02 dreschpe (none)
2:a34405c20cf5 2011-02-01 dreschpe 0.3
1:ddccf0a4a414 2011-02-01 dreschpe 0.2
0:18e4a9c978ec 2011-02-01 dreschpe (none)