This is the home page for a MicroPython Tutorial.

Here's the URL of the server:

http://service.robots.org.nz/wiki/

Exercises#

Starting Point#

We begin with a main.py file (defining a module called "main") containing just a single comment line: main.py # do something intelligent here

The file main.py is special in MicroPython, in the sense that when you power-on the device and/or press the reset button, the main.py file is executed. It's the entry point for executing any application in Python.

Next: MicroPython Tutorial Exercise 2: blocks