microbit-foundation / micropython-microbit-v2

Temporary home for MicroPython for micro:bit v2 as we stablise it before pushing upstream
MIT License
43 stars 24 forks source link

current_sound() cannot work #34

Closed crouse12 closed 3 years ago

crouse12 commented 3 years ago

Python editor: Editor Version: 2.2.0-beta.1 MicroPython Version: 1.0.1/2.0.0-beta.1

image Why does this function current_sound disappear?

microbit-carlos commented 3 years ago

We added the SoundEvent class and now it's microphone.current_event(). More info can be found in this ticket: https://github.com/microbit-foundation/micropython-microbit-v2/issues/19

And the upcoming docs update: https://github.com/bbcmicrobit/micropython/pull/692