Python
Python Editor and MicroPython information
The MicroPython language has a feature that allows you to read, write, and delete files. You can have multiple files and the Mu editor allows you to access...
Tue, 10 Apr, 2018 at 3:21 PM
QUESTION How do I use a more recent MicroPython image to generate my scripts? I have a patched .hex image how do I use this to load Python onto the mic...
Sat, 25 Feb, 2017 at 9:26 AM
Code to useIf you want to display an image from a pre-prepared buffer. from microbit import *
i = Image(5,5,b'\x08\x08\x08\x08\x08\x08\x08\x08\x08...
Thu, 5 Jul, 2018 at 2:27 PM
The Makecode editor radio blocks add some additional binary information at the start of the radio message. When received by Python, this binary data can cau...
Thu, 1 Oct, 2020 at 2:32 PM
Memory errors There are two memory or RAM issues that you might encounter: When your script is being converted from it's Python source into r...
Thu, 20 Feb, 2020 at 1:56 PM
Problem When redirecting the UART service to pins, it doesn't turn off the CTRL-C handling, so receiving a binary 0x03 from the device at the other en...
Wed, 13 Dec, 2017 at 3:52 PM
QUESTION How do I read the device serial number in MicroPython? I want some unique* way to identify my micro:bit, how can I do this? ANSWER fro...
Tue, 5 Nov, 2019 at 2:09 PM
These are both valid examples of Python syntax and effectively doing the same thing in a slightly different way. import microbit imports the entire modu...
Tue, 2 Apr, 2019 at 3:26 PM