Micro:Bit Advent Calendar Day 18 - Use More LEDs with micro:bit

Need help for the Micro:Bit Advent Calendar Day 18 (Use More LEDs with micro:bit )? Just post on this thread and our highly trained team of Micro:Bit ninjas will be able to help you in no time!

I’ve made some code to demonstrate pendulum waves using six LEDs:


Note that P3, P4 and P6 are used for the LED display matrix and P5 is button A, so we can’t use those devices at the same time as our LED display. More info on that here: