When using sound on V2, I am surprised that pin 0 is still getting signal. Is there anyway to disable sound going to pin 0, or is the new speaker on V2 still pin 0?
Students discovered this when an LED plugged into 0 lit up when music played on internal speaker. Doesn’t matter if Play Tone or Play Sound. LED plugged into 0 lights up ;-(
The SetBuiltInSpeaker doesn’t make a difference either way.
Don’t think you can disable the audio output pin but you can select a different pin for audio output , the speaker on the V2 will just play what you send to this pin …
Yes, we already use the breakout from Sparkfun. We are hooking up a Joystick (4 pins), 2 concave buttons, and some LEDs. Cool little remote control to control the Micro:bot, also from Sparkfun. Just a shame to have 0 be useless when a perfectly good speaker is already connected. We are now taking over the A and B button pins to make it all work.
Quick update, I had a clash with the micro:bit V2 vs 4tronix Cube:Bit which has its WS2812 RGB LEDs hanging off pin0. It probably appeared after this discussion, micro:bit MakeCode has a set audio pin enabled with boolean value now under Advanced > Pins. I can’t find the docs for that…