Microbit and LDR example

0
A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity;...

Micro:bit compass example in micropython

0
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...

Microbit RGB led examples

0
Here are another couple of RGB led examples for the Micro:bit Layout     Code The first example just shows some extra colour combinations from microbit import * while True: ...

Microbit and a buzzer examples

0
MicroPython on the BBC micro:bit comes with a powerful music and sound module. It’s very easy to generate bleeps and bloops from the device...