Core Modules¶
These core modules are intended on being consistent across ports. Currently
they are only implemented in the SAMD21 and ESP8266 ports. A module may not exist
in a port if no underlying hardware support is present or if flash space is
limited. For example, a microcontroller without analog features will not have
analogio
.
Support Matrix¶
Module / Port | SAMD21 | SAMD21 Express | ESP8266 |
---|---|---|---|
analogio |
Yes | Yes | Yes |
audioio |
No | Yes | No |
bitbangio |
No | Yes | Yes |
board |
Yes | Yes | Yes |
busio |
Yes | Yes | Yes |
digitalio |
Yes | Yes | Yes |
gamepad |
No | Yes | No |
microcontroller |
Yes | Yes | Yes |
multiterminal |
No | No | Yes |
neopixel_write |
Yes | Yes | Yes |
nvm |
No | Yes | No |
os |
Yes | Yes | Yes |
pulseio |
Yes | Yes | No |
random |
Yes | Yes | Yes |
storage |
Yes | Yes | Yes |
time |
Yes | Yes | Yes |
touchio |
Yes | Yes | No |
uheap |
Debug | Debug | Debug |
usb_hid |
Yes | Yes | No |
Modules¶
_stage
--- C-level helpers for animation of sprites on a stageanalogio
--- Analog hardware supportaudiobusio
--- Support for audio input and output over digital busaudioio
--- Support for audio input and outputbitbangio
--- Digital protocols implemented by the CPUboard
--- Board specific pin namesbusio
--- Hardware accelerated behaviordigitalio
--- Basic digital pin supportgamepad
--- Button handlingmicrocontroller
--- Pin references and cpu functionalitymultiterminal
--- Manage additional terminal sourcesneopixel_write
--- Low-level neopixel implementationnvm
--- Non-volatile memoryos
--- functions that an OS normally providespulseio
--- Support for pulse based protocolsrandom
--- psuedo-random numbers and choicesstorage
--- storage managementtime
--- time and timing related functionstouchio
--- Touch related IOuheap
--- Heap size analysisusb_hid
--- USB Human Interface Deviceustack
--- Stack information and analysishelp()
- Built-in method to provide helpful information