This shows you the differences between two versions of the page.
pm:prj2024:iotelea:stefan_paul.buracu [2024/05/27 00:14] stefan_paul.buracu |
pm:prj2024:iotelea:stefan_paul.buracu [2024/05/27 00:17] (current) stefan_paul.buracu |
||
---|---|---|---|
Line 172: | Line 172: | ||
void CompareSignal(float filteredSignal) { | void CompareSignal(float filteredSignal) { | ||
if (filteredSignal > filteredSignalValues[i]) { | if (filteredSignal > filteredSignalValues[i]) { | ||
- | fill_solid(leds, NUM_LEDS, CRGB::Color); | + | fill_solid(leds, NUM_LEDS, CRGB::COLOR_i); |
FastLED.show(); | FastLED.show(); | ||
delay(50); | delay(50); | ||
Line 186: | Line 186: | ||
if (temp == i) | if (temp == i) | ||
{ | { | ||
- | char song[] = "songi.wav"; | + | char song[] = "song_i.wav"; |
tmrpcm.play(song); | tmrpcm.play(song); | ||
} | } |