We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 523ec02 commit 44a75bbCopy full SHA for 44a75bb
src/codal_app/main.cpp
@@ -70,6 +70,11 @@ int main() {
70
71
uBit.display.setBrightness(255);
72
73
+ // By default there is no audio output selected. The audio system will select the
74
+ // correct pin and/or speaker when any audio related code is first executed.
75
+ uBit.audio.setPinEnabled(false);
76
+ uBit.audio.setSpeakerEnabled(false);
77
+
78
mp_main();
79
return 0;
80
}
0 commit comments