support
support copied to clipboard
[Feature] Implement all functions regarding the speaker of Prime Hub and Inventor Hub inside blocks
Is your feature request related to a problem? Please describe. Implement all functions regarding the speaker of Prime Hub and Inventor Hub.
Describe the solution you'd like
Implement all functions like the one below.
I'm missing as blocks
- Setting:
speaker.volume(volume) - Getting:
speaker.volume()→ int: % - Setting:
peaker.play_notes(notes, tempo=120)
Describe alternatives you've considered
I did write some pybricks python code to test the functions like e.g. speaker.volume(volume) was working. But still too difficult for young kids to do the coding by hand.
Additional context
The function speaker.beep(frequency=500, duration=100) is visible in the blocks editor, but is not visible in the documentation.