Closed fabianhugo closed 5 months ago
Related https://github.com/microsoft/pxt-microbit/issues/3883 - you can use the setSilenceLevel
API in C++ or Typescript. @fabianhugo do you have any more info about the speakers that 'heat up' please?
CC @finneyj
Thanks a lot for your swift reply and for pointing towards the other issue. music.setSilenceLevel(0)
solved it :)
The speaker that heated up is the speaker from the dFRobots Boson Kit driven by a MOSFET.
Can be closed. Thanks!
Describe the bug When using the
.
This causes some speakers to heat up, and could therefore lead to broken speakers or other damage.
set audio pin
block in thepins
category or theuBit.audio.setPin(uBit.io.P0);
function in microbit-v2-samples and then playing any sounds, e.g.uBit.audio.soundExpressions.play("giggle");
leaves a 44.2kHz PWM signal with a duty cycle of 50% on the previously set pin.To Reproduce (makecode)
set audio pin
block in thepins
category, choose P0play giggle unitl done
To Reproduce (microbit-samples-v2)
main.cpp
:uBit.audio.setPin(uBit.io.P0); uBit.audio.soundExpressions.play("giggle");