|
|
In case you missed it last week an alpha version of a block-based micro:bit MicroPython editor was released and could become a great tool for beginner programmers. However if you’re more experienced and like writing code yourself, now you can try a new micro:bit MicroPython extension for the Atom text editor! Atom is a great open source text editor and this new extension adds support for writing and running MicroPython code on a micro:bit. You can leverage all the power of the Atom editor for advanced editing, syntax highlighting, autocompletion and other features as you write Python code for the micro:bit.
Another interesting way to edit files on a MicroPython board is with the mpy-utils tools suite. These tools allow you to upload code from your computer to a MicroPython board using its serial REPL. Included is a FUSE filesystem tool to make a MicroPython board appear as a drive on your computer–just drag and drop files, or even use terminal copy commands and more. Check out the source for details on its usage right now, and be aware your operating system needs to support FUSE filesystems (currently just Linux & Mac OS, although perhaps Windows 10 and its native Linux support would work now too!).
Finally if you’re looking for good weekend MicroPython video viewing, be sure to watch Nick Moore’s recent linux.conf.au 2017 talk titled MicroPython for ESP32. The talk is about the ESP32 port of MicroPython and in particular how it wraps Espressif’s IDF framework. If you’re curious to learn details about the inner workings and extensions to MicroPython this video is a great resource!
|
|
|
| |