MicroPython documentation

Welcome! This is the documentation for MicroPython v1.16, last updated 18 Jun 2021.

MicroPython runs on a variety of systems and hardware platforms. Here you can read the general documentation which applies to all systems, as well as specific information about the various platforms - also known as ports - that MicroPython runs on.

General documentation for MicroPython:

Library Reference
MicroPython libraries and modules

MicroPython Differences
MicroPython operations which differ from CPython

Language Reference
information about MicroPython specific language features

License
MicroPython license information

References and tutorials for specific platforms:

Quick reference for the pyboard
pinout for the pyboard, snippets of useful code, and a tutorial

Quick reference for the ESP8266
pinout for ESP8266-based boards, snippets of useful code, and a tutorial

Quick reference for the ESP32
pinout for ESP32-based boards, snippets of useful code, and a tutorial

Quick reference for the Raspberry Pi RP2xxx
pinout for rp2xxx-based boards, snippets of useful code, and a tutorial

Quick reference for the WiPy/CC3200
pinout for the WiPy/CC3200, snippets of useful code, and a tutorial

Indices and tables:

Module index
quick access to all modules

Full index
all functions, classes, constants

Glossary
MicroPython terms explained

Table of contents
a list of all sections and subsections

External links:

MicroPython homepage
the official MicroPython site

MicroPython forum
community discussion for all things related to MicroPython

MicroPython on GitHub
contribute to the source code on GitHub