kopia lustrzana https://github.com/debsahu/ESP32_FFT_Audio_LEDs
commit
17a980b8b0
|
@ -19,7 +19,7 @@ arduinoFFT FFT = arduinoFFT();
|
||||||
int amplitude = 200;
|
int amplitude = 200;
|
||||||
unsigned int sampling_period_us;
|
unsigned int sampling_period_us;
|
||||||
unsigned long microseconds;
|
unsigned long microseconds;
|
||||||
byte peak[] = {0, 0, 0, 0, 0, 0, 0};
|
byte peak[] = {0, 0, 0, 0, 0, 0, 0, 0};
|
||||||
double vReal[SAMPLES];
|
double vReal[SAMPLES];
|
||||||
double vImag[SAMPLES];
|
double vImag[SAMPLES];
|
||||||
unsigned long newTime, oldTime;
|
unsigned long newTime, oldTime;
|
||||||
|
@ -114,4 +114,4 @@ void loop()
|
||||||
Serial.println();
|
Serial.println();
|
||||||
|
|
||||||
ws2812fx.service();
|
ws2812fx.service();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue