Controlling the brightness of the pixels will be the theme of this recipe. It is important to be able to set the brightness of the pixels depending on the need of the project. Note that you will have to change the brightness to a level that is bright enough so that the pixels are clearly visible, but not so bright that it causes discomfort.
Setting the brightness of the NeoPixel
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 steps:
- Run the following...