1. Micro:bit with LED:s
Nice to meet you Micro:bit
How to control LED with microbit
1. Lets connect LED to our microbit. Remember to connect it right way! Long leg comes to Pin0 and short leg comes to ground (GND)
2. Lets code our LED ON when we press A and OFF when we press B.
3. Lets add another LED to Pin1.
4. Lets code another LED to ON when we turn microbit right and another LED ON when we turn microbit left. Lets code both LEDs OFF when we press A+B.
2. Lets code our LED ON when we press A and OFF when we press B.
3. Lets add another LED to Pin1.
4. Lets code another LED to ON when we turn microbit right and another LED ON when we turn microbit left. Lets code both LEDs OFF when we press A+B.