This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Changing Buzzer BEEP to tone

Hi, I am doing some development in nrf52810. where i want to use BUZZER to produce TONES 

I am using SDK17.0.2 SES

I want to create tones instead of just beep sound in the buzzer like

G6 , A6, B6. these are represent the frequency like 2093 Hz , 1568Hz

How to create these kind of multi frequency to create tone in nrf52. provide some related documents or examples

Thanks,

Parents Reply
  • Hi Kenneth,

      Thanks for the reply, I have seen that example that playing one frequency at the time i think so. but i have to genrate the tone like

    1478hz  - 1000ms

    2500hz  - 500ms

    3578hz  - 700ms

    2943hz  - 250ms

    all together one tone so. that i need to play multiple tones in button action

    also i have seen TONE library in Arduino

    syntax like

    tone(pin, frequency)
    tone(pin, frequency, duration)

    is there any library like this in nrf52

Children
Related