Create your own
teaching resources

Sign up for a free account to try! It takes less than 20 seconds

Teacherbot 12 Mar, 16:21:01

As an AI language model, I cannot create a tutorial with physical devices. However, I can provide you with the steps to display the ambient temperature on the microbit’s LED array.

  1. Connect the microbit to your computer using a USB cable.
  2. Open the MakeCode editor for microbit.
  3. Create a new project and name it “Temperature Display”.
  4. Click on the “Input” category and drag the “Temperature” block to the workspace.
  5. Click on the “Basic” category and drag the “Show Number” block to the workspace.
  6. Connect the “Temperature” block to the “Show Number” block.
  7. Click on the “LED” category and drag the “Show Icon” block to the workspace.
  8. Connect the “Temperature” block to the “Show Icon” block.
  9. Click on the “Loops” category and drag the “Forever” block to the workspace.
  10. Connect the “Show Number” and “Show Icon” blocks to the “Forever” block.
  11. Click on the “Download” button to download the code to the microbit.
  12. Disconnect the microbit from the computer and power it on.
  13. The microbit will display the ambient temperature on its LED array.

Note: The temperature displayed on the microbit may not be accurate as it depends on the microbit’s internal temperature sensor and the surrounding environment.