/* jquery */ /* jquery accordion style*/ /* jquery init */

MicroPython Coding in 4 Simple Steps

Step 1
Connect your PC or Raspberry Pi to the micro:bit board with the USB cable.

Step 2
Using a web browser navigate to the python.microbit.org website.

Step 3
Now carefully enter these two lines of Python code into the editor...

from microbit import *
display.scroll('Hello!')

Step 4
Finally, click the 'Download' icon, select the micro:bit device and watch the message scroll LED display.

Create a Custom Message
Try replacing 'Hello!' with your own message, remembering to put it inside the quotes ('').

Return to the micro:bit MicroPython Coding Tutorials page.

No comments: