In this recipe, we will learn how to move the active NeoPixel clockwise and counterclockwise depending on whether the left or right push button is pressed. This recipe goes beyond the simpler button and LED interactions shown in previous recipes. This is a more involved recipe, which will create the impression that button presses are moving the light in a circular motion around the board.
Moving active LEDs with push buttons
Getting ready
You will need access to the REPL on the Circuit Playground Express to run the code presented in this recipe.
How to do it...
Let&apos...