Thanks to the Kids Innovative ambassador, Alicia, who wanted to show everyone the coding instructions for the micro:bit thermometer.
micro: bit integrated multiple features in its board which can be activated by programming the code, then transferring the .hex file to the chip. The micro: bit has a sensor in the central processing unit which can measure the estimated air temperature in °C (Celsius). This can also be converted into Fahrenheit.
The code can be as simple as:
All you need is a computer, a micro:bit, and usb adapter to connect the micro:bit. If you want to display bars, and get program functions on the buttons, check out the video!