Buzzer Erratic Beeping

I tried making the changes but it still doesn’t work right. I’m using tone() to drove the buzzer.

@jcommisso, tone won’t work with the active buzzer. It is simply ON or OFF. With the passive device, it will only work within a narrow frequency range.

I just tried that and it worked! I used digitalWrite(). Thanks so much for your help!

1 Like