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

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