STEP 4: Our micro:bit is definitely working now. Let's make a place to hold the data we'll collect.

  • In LOGIC, go to and drag out Empty List into the code editor.
  • Drag out one more Empty List.
  • Click Run. You should still see the LEDs on your micro:bit display a number.
  • Then click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

microbit = codesters.Microbit() microbit.show_string("hello") data = microbit.get_temp() microbit.show_number(data)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)