FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Caleidoscope6()

void Caleidoscope6 ( )

Definition at line 410 of file funky.cpp.

410 {
411 for (int x = 1; x < 8; x++) {
412 leds[XY(7 - x, 7)] = leds[XY(x, 0)];
413 } // a
414 for (int x = 2; x < 8; x++) {
415 leds[XY(7 - x, 6)] = leds[XY(x, 1)];
416 } // b
417 for (int x = 3; x < 8; x++) {
418 leds[XY(7 - x, 5)] = leds[XY(x, 2)];
419 } // c
420 for (int x = 4; x < 8; x++) {
421 leds[XY(7 - x, 4)] = leds[XY(x, 3)];
422 } // d
423 for (int x = 5; x < 8; x++) {
424 leds[XY(7 - x, 3)] = leds[XY(x, 4)];
425 } // e
426 for (int x = 6; x < 8; x++) {
427 leds[XY(7 - x, 2)] = leds[XY(x, 5)];
428 } // f
429 for (int x = 7; x < 8; x++) {
430 leds[XY(7 - x, 1)] = leds[XY(x, 6)];
431 } // g
432}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
int x
Definition Audio.ino:71
int XY(int x, int y)
Definition funky.cpp:190

References leds, x, and XY().

Referenced by Audio3().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: