Code: Select all
input.buttonB.onEvent(ButtonEvent.Click, function () {
pins.A0.analogWrite(1)
})
My (perhaps ambitious) goal is to play a PCM sample through the speaker, hence the need to write to A0.
I've seen several other reports of the same issue, dating back to 2019. Is there a known workaround, or a chance at a fix in the near future?
Current site tested:
Adafruit Circuit Playground Express version: 1.4.43
Microsoft MakeCode version: 5.20.6
codal-circuit-playground runtime version: v2.0.1
Beta site tested:
Adafruit Circuit Playground Express version: 1.6.4
Microsoft MakeCode version: 6.1.10
codal-circuit-playground runtime version: v2.0.4