Before we begin coding, we will need to install the Adafruit NeoPixel library. The following screenshot shows the library that should be installed by the library manager. If you do not remember the steps to install a library, refer back to Chapter 9, Environment Sensors:
Sensors where we install the library for the DHT11 temperature and humidity sensor.
Once the library is installed, we will need to include it by putting the following line at the top of our code:
When we use the Adafruit NeoPixel library, we need to tell it what pin the NeoPixels are connected to and how many NeoPixels are ...