support
support copied to clipboard
[Bug] hub.speaker.volume(Volume) not working
Describe the bug Speaker Volume does not seem to work now. I recently upgraded to new firmware and speaker volume does not see to work now. This code used to reduce the volume each time it is called but the beep sound is the same each time now.
Volume = hub.speaker.volume()
Volume -= 10
if Volume < 0:
Volume = 0
print('Volume Down:', Volume, '%')
hub.speaker.volume(Volume)
beep(beep_freq, beep_duration)
To reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior What did you expect to happen instead?
Screenshots There is a saying that a picture is worth a 1000 words. Screenshots really help to identify and solve problems.