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.
- Connect the microbit to your computer using a USB cable.
- Open the MakeCode editor for microbit.
- Create a new project and name it “Temperature Display”.
- Click on the “Input” category and drag the “Temperature” block to the workspace.
- Click on the “Basic” category and drag the “Show Number” block to the workspace.
- Connect the “Temperature” block to the “Show Number” block.
- Click on the “LED” category and drag the “Show Icon” block to the workspace.
- Connect the “Temperature” block to the “Show Icon” block.
- Click on the “Loops” category and drag the “Forever” block to the workspace.
- Connect the “Show Number” and “Show Icon” blocks to the “Forever” block.
- Click on the “Download” button to download the code to the microbit.
- Disconnect the microbit from the computer and power it on.
- 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.
Loading...