Micro Python is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on microcontrollers and in constrained environments.
1. Getting Started with uPython
2. Introduction to microcontroller
3. Why micro python?
4. Working with Thonny IDE
5. Micro Python on the ESP32
6. Introduction to Python
8. Simple pin operations
9. LED Blinking
10. Toggling the LED
11. Timers and Delay
12. Pins and GPIO
15. SPI bus
16. I2C bus
20. Wi - Fi
Have Any Questions?
1. What is the difference between Python and MicroPython?
The language features of Python are also available in MicroPython. The biggest difference between Python and MicroPython is that MicroPython was designed to work under constrained conditions. MicroPython does not come with the full standard library. It only includes a small subset of the Python standard library.
2. What is MicroPython used for?
MicroPython is a tiny open source Python programming language interpretor that runs on small embedded development boards. With MicroPython you can write clean and simple Python code to control hardware instead of having to use complex low-level languages like C or C++ (what Arduino uses for programming).
3. Which microcontroller uses MicroPython?
4. Is MicroPython compiled?
MicroPython has a cross compiler capable of compiling Python modules to bytecode (see the README in the mpy-cross directory). The resulting bytecode file has a. mpy extension; it may be copied to the filesystem and imported in the usual way.