This recipe will combine some aspects of the previous recipes in this chapter to create an animation using randomly selected colors. This recipe builds on the techniques of other recipes to create your first animation. With 10 pixels on the board, there are a lot of options for creating engaging visual animations on the board—this is just one of those.
Creating LED animations with random colors
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...
To do this, perform the following...