In this recipe, we will use 10 NeoPixels to create a ring that will show the current light level. The ring will get smaller and bigger as the light level increases and decreases. This recipe will show you one way you can make your projects interact with light. It will also show a generic technique for turning the ring of pixels into a 10-level gauge that you can use in all sorts of projects.
Creating a light meter
Getting ready
You will need access to the REPL on Circuit Playground Express to run the code presented in this recipe.
How to do it...
Follow these steps to...