Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Implement all functions regarding the speaker of Prime Hub and Inventor Hub inside blocks #1972

Open
roykrikke opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request software: pybricks-blocks Issues with blocks and code generation

Comments

@roykrikke
Copy link

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.
image
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.

@roykrikke roykrikke added enhancement New feature or request triage Issues that have not been triaged yet labels Dec 9, 2024
@laurensvalk laurensvalk added software: pybricks-blocks Issues with blocks and code generation and removed triage Issues that have not been triaged yet labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request software: pybricks-blocks Issues with blocks and code generation
Projects
None yet
Development

No branches or pull requests

2 participants