I am Martin. I have a question about driving a matrix out of 8 stripes each with 15 w2812 leds. right now I have a horizontal arrangement with the data beeing sourced individually at the right side. So every stripe (line) has its own data pin connected to a arduino. Now I wanted to create an array such like this:
Code: Select all
include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel test[8] = {(15,0), (15,1), (15,2), (15,3), (15,4), (15,5), (15,6), (15,7)};
void setup() {
int helligkeit = 50;
for(int i = 0; i <= 7; i++)
{
test[i].begin();
test[i].show();
test[i].setBrightness(helligkeit);
}
}
void loop() {
test[0].setPixelColor(1,test[0].Color(255,0,0));
}