You are currently viewing Code your own bedroom door sign: python on a BBC micro:bit for beginners
Scrolling text with python on a micro:bit

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

Extend it with codeYou can change the speed that the micro:bit displays text using an optional parameter called delay:

microbit.display.scroll(“Hi, my name is Pete”, delay=50)

This will scroll twice as fast as microbit.display.scroll(“Hi, my name is Pete”, delay=100)

 

Have a look at the developer docs for microbit.display and see if you can:

  1. Make your name continually scroll rather than just scrolling once
  2. Make “This room belongs to …” scroll quickly then “KEEP OUT” scroll slowly
  3. Display a smiley face before you display your name

Leave a Reply