Code your own bedroom door sign: python on a BBC micro:bit for beginners

Classroom ideas:

Collaborative Computing
Scroll text across multiple micro:bits

Get students to work in groups of 2 or 3 with a micro:bit each. Challenge each team to program their microbits to scroll the same message. Hold the devices next to each other left to right try to get the timing right so that the message scrolls across all of the devices. You can use the reset button on the back to help with the timing.



Curious computing
Investigate the text scrolling speed

Encourage students to get a message scrolling at different speeds by changing the delay parameter:

from microbit import *
display.scroll("Hello", delay=600)

What is the fastest speed that is readable? Are there any characters that don’t display properly? When you run code in the micro:bit simulator that has an error, you get an error message at the bottom of the screen. What happens if you try run code with an error on the actual micro:bit?

Leave a Reply

Your email address will not be published. Required fields are marked *