MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
The MicroPython pyboard is a compact electronic circuit board that runs MicroPython on the bare metal, giving you a low-level Python operating system that can be used to control all kinds of electronic projects.
MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.
MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.
MicroPython is a full Python compiler and runtime that runs on the bare-metal. You get an interactive prompt (the REPL) to execute commands immediately, along with the ability to run and import scripts from the built-in filesystem. The REPL has history, tab completion, auto-indent and paste mode for a great user experience.
MicroPython strives to be as compatible as possible with normal Python (known as CPython) so that if you know Python you already know MicroPython. On the other hand, the more you learn about MicroPython the better you become at Python.
In addition to implementing a selection of core Python libraries, MicroPython includes modules such as "machine" for accessing low-level hardware.
MicroPython is written in C99 and the entire MicroPython core is available for general use under the very liberal MIT license. Most libraries and extension modules (some of which are from a third party) are also available under MIT or similar licenses.
You can freely use and adapt MicroPython for personal use, in education, and in commercial products.
MicroPython is developed in the open on GitHub and the source code is available at the GitHub page, and on the download page. Everyone is welcome to contribute to the project.
MicroPython employs many advanced coding techniques, and lots of tricks to maintain a compact size while still having a full set of features.
Some of the more notable items are:
正山小种属于什么茶类hcv7jop4ns8r.cn | 大红袍属于什么档次hcv7jop7ns0r.cn | 心脏缺血吃什么补得快baiqunet.com | 北京是我国的什么中心hcv8jop2ns2r.cn | 黄桃什么时候上市hcv8jop2ns3r.cn |
上腹部饱胀是什么原因mmeoe.com | 大致正常心电图是什么意思hcv8jop1ns2r.cn | 股癣用什么药膏好得快hcv7jop6ns3r.cn | 多多益善的益是什么意思xinmaowt.com | 肛门里面有个肉疙瘩是什么hcv8jop8ns4r.cn |
重返20岁韩国版叫什么hcv7jop6ns5r.cn | 红眼病用什么药sscsqa.com | 减肥什么东西不能吃hcv8jop6ns2r.cn | 一穷二白什么意思hcv8jop1ns6r.cn | 腹腔淋巴结是什么意思hcv8jop1ns5r.cn |
poison是什么意思hcv7jop7ns4r.cn | 黑蝴蝶代表什么chuanglingweilai.com | 粉是什么做的hcv8jop7ns7r.cn | 夏天用什么护肤品比较好hcv8jop7ns0r.cn | 财神是什么生肖hcv8jop8ns4r.cn |