Tone function not working on Bluz


#1

On the photon I am calling tone(…) on the RX pin to output a sound to a piezo buzzer. It does not appear to work with a Bluz. Is there any way to get tone support? Or am I perhaps doing something wrong?


#2

Currently this isn’t implemented. There are some functions that we get through the Particle firmware that are actually stubbed out in the bluz firmware. You can always check the docs for the most up-to-date function list, only ones on our docs are officially supported: http://docs.bluz.io/

In the meantime, is it possible to use analogWrite to generate a tone?


#3

Thanks

I can use analogWrite to generate the tone.