Closed microbit-carlos closed 1 year ago
To have a working MicroPython hex for the Python Editor, we'll see tomorrow to maybe create a new CODAL tag with the commit reverted, or maybe go back in MicroPython to CODAL v0.2.40.
This will block #118, #119, #122 (which require features from CODAL 0.2.40).
Okay, we've got a hotfix patch to resolve this and I'll release beta.3 right away.
The commit reverted was to solve a issue with the uBit.audio.soundExpressions.play()
function returning before the sound finished playing (about 15ish ms or so), so it should be safe to revert:
Thanks @JohnVidler!
To replicate:
In both cases the sound will play, but it will get stuck playing the last tone and play that indefinitely, never reaching the line to display "A".
Looks like it was introduced by this CODAL commit: https://github.com/lancaster-university/codal-microbit-v2/commit/31095d5d9f3c1ffc524c2777173d10fe7ee9ab25
More info in: