Closed jcarranz97 closed 1 month ago
This might be better suited to https://github.com/raspberrypi/pico-extras than it is to pico-sdk ?
That is probably the best approach ...
Is the normal process first propose new libraries and examples against pico-extrasand pico-playground? If that is case, I can go ahead an move my PRs to those repos :eyes:
I believe the way it normally works is that if your example works out-of-the-box with the develop
version of pico-sdk
then you'd just submit it against pico-examples
; but if your example relies on pico-extras
then you'd submit it against pico-playground
.
So in answer to your question: yes :smiley:
Thanks for the advice, I have just opened a PR against pico-extras
to include this library there :muscle:
https://github.com/raspberrypi/pico-extras/pull/70
Not an sdk issue
Fixes #1568
This PR includes tone functions to generate tones using PWM.
The tone function is similar to tone() from Arduino. I have also included a
no_tone
function to silence buzzer if needed.I have a PR open in pico-examples repository which includes an example usage for this library.
Inspiration and References: