Our boards work with MicroPython; a Python 3.5 implementation that is optimised to run on micro controllers. This allows for much faster and more simple development process than using C.
When booting, two files are executed automatically: first
boot.py and then
main.py. These are placed in the
/flash folder on the board. Any other files or libraries can be placed here as well, and can be included or used from
The folder structure in
/flash looks like the picture below. The files can be managed either using FTP or using the Pymakr Plugin.
Micropython shares majority of the same syntax as Python 3.5. The intention of this design is to provide compatibility upwards from Micropython to Python 3.5, meaning that code written for Micropython should work in a similar manner in Python 3.5. There are some minor variations and these should taken viewed as implementation differences.
Micropython also has a number of Micropython specific libraries for accessing hardware level features. Specifics relating to those libraries can be found in the Firmware API Reference section of this documentation.