In this session of TechnoClub we make our own Wiimote!
Here we literally just need the MicroBit on its own. The MicroBit has all the components on the board itself, so we don't need a breadboard.
This code uses the MicroBit's internal Accelerometer to work out when it is being tilted.
This is the circuit for wiring up a photodiode. It needs:
5V and GND supplied to the breadboard
A photodiode with
A connection to GND with a resistor
A connection to one of the pins on the MicroBit
This code uses displays an LED in the top left when it senses light and a diagonal line if it doesnt.