![]() ![]() fadeThickness = 0 // CHANGE THICKNESS (0-10) High Density LED strip)Īdafruit_NeoPixel strip = Adafruit_NeoPixel(lightCount, PIN, NEO_GRB + NEO_KHZ800) NEO_GRB Pixels are wired for GRB bitstream NEO_RGB Pixels are wired for RGB bitstream Parameter 3 = pixel type flags, add together as needed: Parameter 2 = pin number (most are valid) ![]() Parameter 1 = number of pixels in strip Just connect the audio source to GND and analoge pin A1 and then the LED to power and D2 I was looking for a nice VU meter using the WS2812 LED Strip and found a link which I cannot remember to accredit but the code was limited to 50 LEDs so I have a play around and not it was address the limits of the Adafruit_NeoPixel.h library. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |