The BBC micro:bit does not have a dedicated temperature sensor. Instead, the temperature provided is actually the temperature of the silicon die on the main CPU. So not a perfect.
The micro:bit also has a compass (magnetometer) The compass has to be calibrated before it can give accurate readings. Calibration involves moving a dot to make a circle on the.
The Image class also has the following built-in instances of itself included as its attributes (the attribute names indicate what the image represents). In this example we will randomly display.
Here we show you how to create a custom image on the led matrix, we use the Mu editor - http://codewith.mu/ [codesyntax lang="python"] from microbit import * im = Image('99999:90009:90009:90009:99999:') display.show(im).