You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This in microbit/__init__.pyi needs reconsidering:
from . import accelerometer as accelerometer
from . import compass as compass
from . import display as display
from . import i2c as i2c
from . import microphone as microphone
from . import speaker as speaker
from . import spi as spi
from . import uart as uart
None of these are modules at runtime in MicroPython, though they were documented using the directives for modules in the docs. They are actually e.g. MicroBitCompass objects.
audio is actually a module, but for unclear reasons cannot be imported as microbit.audio (via import or from microbit.audio import ...).