This is my first library for the arduino board, it can be used with an LED or a buzzer. It is very simple to use, look at the example program to understand how to use it.