ESP32 (ESP32-DevKitC V4) code in Arduino Framework to drive a 8X NeoPixel Ring using Adafruit_NeoPixel library simple example.
In Arduino IDE library manager, install Adafruit_NeoPixel library.
Open Example > Adafruit_NeoPixel > simple
Edit PIN on the Arduino is connected to the NeoPixels, and number of NeoPixels are attached.
Connect NexPixel to ESP32 accordingly, verify and upload your code to run:
Note that if you assign PIN to a wrong pin, such as input only. Error message will be output to Serial:
~ more examples of ESP32-DevKitC V4
No comments:
Post a Comment