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 matrix. Once this is complete you get a smiling face image displayed to show you...
Micropython
The micro:bit has an accelerometer on board, you can see this in the picture below When you flash the program, you should see a reading of the accelerometer x axis being.
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) [/codesyntax] You can vary the brightness by changing the value of the digits from...