mPython help documentation

Welcome to use mPython!

mPython board is a teaching and learning tool jointly put forward by the maker education expert committee, maoyouhui and the majority of front-line teachers and participated in the research and development with the representatives of excellent enterprises in the maker education industry. It is an open source hardware for education and a public welfare project.


_images/掌控-动态.gif

mPython Board Official Website: https://www.mpython.cn
mPython Board Documentation: https://mPython.readthedocs.io
mPython IDE Software Programming Documentation: https://mpythonsoftware.readthedocs.io/

We open the software and hardware resources of the mPython Board project to GitHub to share with mPython Board user to learn and Apply

Attention

The project is under active development. Since ESP32 is still for developers, not all peripheral devices can be used perfectly, there may still be some bugs, we will continue to fix and update in time.



MicroPython Library

Python Standard Library CPython compatible, contain Python built-in functions、commonly used module
MicroPython Library MicroPython ESP32 hardware control module

You can find the available built-in libraries through help() , import the following content in REPL to import:

>>> help('modules')

In addition to the built-in libraries described in this document, the micropython-lib You can also find more modules from the Python standard library and further microPython extensions to it.


mPython Library

  • built-in

    • mpython ——— mPython Board related built-in functions
    • music ——— Music related function, micro:bit module compatible
    • urequests ——— Related function of HTTP Client
    • umqtt.simple ——— MQTT Client function
    • gui ——— GUI type drawing elements
    • audio ——— Audio playback recording
    • radio ——— Radio broadcasting
    • sdcard ——— Mount SD Card
    • bluebit ——— blue:bit driver
    • parrot ——— mPython Expansion Board driver
    • ds18x20 ——— ds18b20 Temperature Sensor driver
  • extend


MicroPython Syntax

References for specific language features of micropython

mPython Series

_images/extboard_250.png _images/mpython_classroom_kit_250.png