This program shows how hot or cold your micro:bit is by taking a reading from the temperature sensor in its processor or CPU (central processing unit).
The processor’s temperature is a fairly good approximation of the temperature around you in °C (Celsius).
Example Code: In this program, when you press input button A, the micro:bit displays the processor’s current temperature on its LED display output.