Buffering the Buzzer

I was successful in changing the frequency and listening to the different sounds made by changing the voltage.
But how do I write a code in js to buffer the buzzer every second.
sec 1: ON
sec 2: OFF
sec 3: ON… and so till a certain period of time.

You will require Bolt Cloud Pro plan for that.
Refer to the below document. With Pro, you can hit 240 APIs in a min.

I need just 60API’s a minute… I just need the code for it

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Hi @rdlohith,

You can use setInterval function of JavaScript. Refer this thread Modifying Control LED program

Do let me know in case you need further assitance.

2 Likes

Thank you for this. :heart:

Thank you soo much. This is exactly what I wanted.