Make noise with a piezo buzzer. Use a digital out pin.
Fork of beep by
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.
Revisions of beep.h
Revision | Date | Message | Actions |
---|---|---|---|
1:ddccf0a4a414 | 2011-02-01 | 0.2 | File Diff Annotate |
0:18e4a9c978ec | 2011-02-01 | (none) | File Diff Annotate |