MakeCode

There's one final way to build this digital spinner project using the Microsoft MakeCode visual programming tool.  This is a great way to build a digital fidget spinner if you're new to programming and find graphical languages a little easier to understand.  

To build the spinner project for MakeCode you'll need to have the Circuit Playground Express board, the older Circuit Playground Classic is not supported.

Next be sure to check out the Circuit Playground Express MakeCode guide to learn about MakeCode and how its graphical programming language works.  Then load the digital fidget spinner MakeCode project on your Circuit Playground Express board:

This version of the digital fidget spinner is a little bit simpler than the previous two versions.  You only need to shake the Circuit Playground Express to start it spinning its LEDs instead of flicking it from the left or right.

In addition the program won't change colors or animation types from button presses--if you want to change the color adjust the primary_color and secondary_color variables at the top of the on start block in the program.

That's all there is to the MakeCode version of the digital fidget spinner!  Shake the board and watch its lights spin around and gradually slow to a stop just like a real fidget spinner!

This guide was first published on Jun 09, 2017. It was last updated on Jun 09, 2017. This page (MakeCode) was last updated on Aug 21, 2019.