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

◆ MSGEQtest9()

void MSGEQtest9 ( )

Definition at line 824 of file funky.cpp.

824 {
825 ReadAudio();
826 for (int i = 0; i < 7; i++) {
827 leds[XY(i * 2, 0)] = CHSV(
828 i * 27, 255, right[i] / 3); // brightness should be divided by 4
829 leds[XY(1 + i * 2, 0)] = CHSV(i * 27, 255, left[i] / 3);
830 }
831 leds[XY(14, 0)] = 0;
832 leds[XY(15, 0)] = 0;
833 ShowFrame();
834 VerticalMove();
835}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
void VerticalMove()
Definition funky.cpp:484
int XY(int x, int y)
Definition funky.cpp:190
int right[7]
Definition funky.cpp:79
void ReadAudio()
Definition funky.cpp:270
int left[7]
Definition funky.cpp:78
void ShowFrame()
Definition funky.cpp:993
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Definition chsv.h:16

References leds, left, ReadAudio(), right, ShowFrame(), VerticalMove(), and XY().

+ Here is the call graph for this function: