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.

History

commit before library update default tip

2014-02-22, by joe4465 [Sat, 22 Feb 2014 13:11:02 +0000] rev 5

commit before library update


change beep.c to beep.cpp to avoid compiler problems

2012-09-11, by dreschpe [Tue, 11 Sep 2012 08:21:45 +0000] rev 4

change beep.c to beep.cpp to avoid compiler problems


2011-02-02, by dreschpe [Wed, 02 Feb 2011 22:38:30 +0000] rev 3


0.3

2011-02-01, by dreschpe [Tue, 01 Feb 2011 19:17:44 +0000] rev 2

0.3


0.2

2011-02-01, by dreschpe [Tue, 01 Feb 2011 19:08:44 +0000] rev 1

0.2


2011-02-01, by dreschpe [Tue, 01 Feb 2011 18:44:45 +0000] rev 0