Twelve Drummers Drumming

Recreate a bongo cat drumming a drum!


YOU WILL NEED

  • 1 x microbit
  • 1 x breakout board
  • 2 x servo

Looking for parts to make this?


STEP 1

Open up the micro:bit code editor at https://makecode.microbit.org/#editor and follow the code as shown. This step resets both servos to a default 0º position when the micro:bit is first turned on.



STEP 2

Now let us work on getting the bongo cat drumming! When button A is pressed, one servo will move to its original position, while the other will move down to 90º (hit the drum).



STEP 3

That's pretty much it for coding! Now, that's left is to decorate your microbit like a bongo cat!


Made this activity? Good Job! Now spread the word. Share a photo of your creation on social media with #letsgethacking #TwelveDrummersDrumming