Code the Micro:bit to Warn You if it Gets Too Warm or Too Cold

Use code to get the micro:bit to warn you about high and low temperatures.

Step 1

Create an app that warns the user if the temperature of the micro:bit is getting too hot or too cold.

Use images that make it clear if the micro:bit is too warm or too cold.

Hint: You can put an if block inside another if block

Step 2

Test your solution on the simulator.

Download your code onto the micro:bit and test it.