Tilting Text Entry on the BBC micro:bit

I’ve been lucky enough to get my hands on a BBC micro:bit, which were delivered to Y7 teachers last week. The micro:bit website provides a range of resources to help secondary school teachers and I intend to produce a guide for primary teachers over the next few months.

On the micro:bit website, pupils can write their programs using a number of environments, including the “Block Editor”, which is very similar to Scratch. For more advanced programs, Mu – a “micro” editor for MicroPython and the BBC micro:bit, can be used, which is currently in development here. If you’re familiar with Python, Mu is a joy to use and even displays error codes on the micro:bit’s display!

To test how this works, I decided to make a program allowing text to be entered on the micro:bit itself, which can then be scrolled across the device’s display. This is likely to be useful if you’re using your micro:bit as a wearable and want to change the text while away from your computer. The program can be seen in action in the (shaky!) video below:

The code is available on GitHub here for those of you who would like to use it yourself, or even enhance it.

Let me know what you think on Twitter @computingchamps