Create the prototype of buzzer beep function