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_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 accesscamera
– Support for camera inputcanio
– CAN 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 peripheralipaddress
math
– 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 individual 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 supportsocketpool
ssl
storage
– Storage managementstruct
– Manipulation of c-style datasupervisor
– Supervisor settingsterminalio
– Displays text in a TileGridtime
– time and timing related functionstouchio
– Touch related IOuheap
– Heap size analysisulab
– Manipulate numeric data similar to numpyulab.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- _DType
- _Index
- _float
- array
- _ArrayLike
- int8
- int16
- float
- uint8
- uint16
- arange
- eye
- linspace
- ones
- zeros
usb_hid
– USB Human Interface Deviceusb_midi
– MIDI over USBustack
– Stack information and analysisvectorio
– Lightweight 2d shapes for displayswatchdog
– Watchdog Timerwifi
wiznet
– Support for WizNet hardware, including the WizNet 5500 Ethernet adaptor.help()
– Built-in method to provide helpful information