-
Notifications
You must be signed in to change notification settings - Fork 532
Closed
Labels
Description
I noticed that the Tone () function does not work well when the BLE is active, the buzzer sound is not clean, because the PWM signal is not correct.
Probably, tone and bluefruit.cpp share a timer, is it possible to change the timer?
Using analogWrite() by appropriately modifying the frequency prescaler everything works well, but I need to have different prescaled because I use analogWrite() for other actuators.
I noticed in the Tone.ccp file the comment:
//Use fixed PWM2, TODO could conflict with other usage.
Maybe it was already reported?
How can I solve it?
Thank you!