Core Modules¶
These core modules are intended on being consistent across ports and boards.
A module may not exist on a port/board if no underlying hardware support is
present or if flash space is limited. For example, a microcontroller without
analog features will not have analogio. See the Support Matrix page for
a list of modules supported on each board.
Modules¶
_bleio– Bluetooth Low Energy (BLE) communication_canio– CAN bus access_eve– Low-level BridgeTek EVE bindings_pew– LED matrix driver_pixelbuf– A fast RGB(W) pixel buffer library for like NeoPixel and DotStar_stage– C-level helpers for animation of sprites on a stage_typing– Types for the C-level protocolsaesio– AES encryption routinesanalogio– Analog hardware supportaudiobusio– Support for audio input and output over digital busesaudiocore– Support for audio samplesaudioio– Support for audio outputaudiomixer– Support for audio mixingaudiomp3– Support for MP3-compressed audio filesaudiopwmio– Audio output via digital PWMbitbangio– Digital protocols implemented by the CPUboard– Board specific pin namesbusio– Hardware accelerated external bus accesscountio– Support for edge countingdigitalio– Basic digital pin supportdisplayio– Native helpers for driving displaysfontio– Core font related data structuresframebufferio– Native framebuffer display drivingfrequencyio– Support for frequency based protocolsgamepad– Button handling in the backgroundgamepadshift– Tracks button presses read through a shift registergnss– Global Navigation Satellite Systemi2cperipheral– Two wire serial protocol peripheralmath– mathematical functionsmemorymonitor– Memory monitoring helpersmicrocontroller– Pin references and cpu functionalitymultiterminal– Manage additional terminal sourcesneopixel_write– Low-level neopixel implementationnetwork– Network Interface Managementnvm– Non-volatile memoryos– functions that an OS normally providesps2io– Support for PS/2 protocolpulseio– Support for pulse based protocolspwmio– Support for PWM based protocolsrandom– pseudo-random numbers and choicesrgbmatrix– Low-level routines for bitbanged LED matricesrotaryio– Support for reading rotation sensorsrtc– Real Time Clocksamd– SAMD implementation settingssdcardio– Interface to an SD card via the SPI bussdioio– Interface to an SD card via the SDIO bussharpdisplay– Support for Sharp Memory Display framebufferssocket– TCP, UDP and RAW socket supportstorage– Storage managementstruct– Manipulation of c-style datasupervisor– Supervisor settingsterminalio– Displays text in a TileGridtime– time and timing related functionstouchio– Touch related IOuheap– Heap size analysisulabulab.approx– Numerical approximation methodsulab.compare– Comparison functionsulab.fft– Frequency-domain functionsulab.filter– Filtering functionsulab.linalg– Linear algebra functionsulab.numerical– Numerical and Statistical functionsulab.poly– Polynomial functionsulab.user– This module should hold arbitrary user-defined functions.ulab.vector– Element-by-element functions These functions can operate on numbers, 1-D iterables, 1-D arrays, or 2-D arrays by applying the function to every element in the array. This is typically much more efficient than expressing the same operation as a Python loop.
usb_hid– USB Human Interface Deviceusb_midi– MIDI over USBustack– Stack information and analysisvectorio– Lightweight 2d shapes for displayswatchdog– Watchdog Timerwiznet– Support for WizNet hardware, including the WizNet 5500 Ethernet adaptor.help()– Built-in method to provide helpful information