Activity: Data Storage
I'M FINISHED WITH HOUR OF CODE!

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.

microbit = codesters.Microbit() microbit.show_string("hello") data = microbit.get_temp() microbit.show_number(data)
Support