Guten Tag
Ich bin anscheinend zu Blöd oder geht das mit FastLED nicht zusammen.
was ich habe ist
7x42 LED am nano und di kann ich auch alle einzel steuern.
#include "FastLED.h"
#define NUM_STRIPS 7
#define NUM_LEDS_PER_STRIP 42
CRGB leds[NUM_STRIPS][NUM_LEDS_PER_STRIP];
void setup() {
// put your setup code here, to run once:
FastLED.addLeds<NEOPIXEL, 8>(leds[0], NUM_LEDS_PER_STRIP);
FastLED.addLeds<NEOPIXEL, 2>(leds[1], NUM_LEDS_PER_STRIP);
FastLED.addLeds<NEOPIXEL, 3>(leds[2], NUM_LEDS_PER_STRIP);
FastLED.addLeds<NEOPIXEL, 4>(leds[3], NUM_LEDS_PER_STRIP);
FastLED.addLeds<NEOPIXEL, 5>(leds[4], NUM_LEDS_PER_STRIP);
FastLED.addLeds<NEOPIXEL, 6>(leds[5], NUM_LEDS_PER_STRIP);
FastLED.addLeds<NEOPIXEL, 7>(leds[6], NUM_LEDS_PER_STRIP);
}
void loop() {
// put your main code here, to run repeatedly:
// This outer loop will go over each strip, one at a time
for(int x = 0; x < NUM_STRIPS; x++) {
// This inner loop will go over each led in the current strip, one at a time
for(int i = 0; i < NUM_LEDS_PER_STRIP; i++) {
leds[x][i] = CRGB::Red;
FastLED.show();
leds[x][i] = CRGB::Black;
delay(10);
}
}
}
soweit so gut
Ich weis ihr macht das alles mit nur einem pin
Leider ist das Display aber fertig vertratet und funktioniert ohen diese FastLED wunderbar mit 1000 Zeichen als PORT Byte Scroll text AM NANO wohlgemerkt
nun würde ich aber auch gerne mal diese GRAFIK sachen probieren
speziell Rainbow
3Buchstaben links und rechts bouncen
Das ist das Zie
ich hänge aber schon am Anfang
Brauche ich da LEDMatrix und LEDtext beide libs
dann wird der Nano warscheinlich schon voll sein auch ohne nur ein Buchstabe
und die erweiterung auf 84x7 wird dann den ram sprengen.
bitte um Hilfe Danke
