kopia lustrzana https://github.com/kosme/arduinoFFT
Fix for issue 56
rodzic
8459c48952
commit
ee0459d537
|
@ -53,6 +53,7 @@ double vImag[samples];
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
while(!Serial);
|
||||||
Serial.println("Ready");
|
Serial.println("Ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,7 @@ unsigned long time;
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
while(!Serial);
|
||||||
Serial.println("Ready");
|
Serial.println("Ready");
|
||||||
exponent = FFT.Exponent(samples);
|
exponent = FFT.Exponent(samples);
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,7 @@ void setup()
|
||||||
{
|
{
|
||||||
sampling_period_us = round(1000000*(1.0/samplingFrequency));
|
sampling_period_us = round(1000000*(1.0/samplingFrequency));
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
while(!Serial);
|
||||||
Serial.println("Ready");
|
Serial.println("Ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,8 @@ double vImag[samples];
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
while(!Serial);
|
||||||
|
Serial.println("Ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
|
|
@ -54,6 +54,7 @@ double vImag[samples];
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
while(!Serial);
|
||||||
Serial.println("Ready");
|
Serial.println("Ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue