From dec237ab147d17af2043cdbf4326c30616c7fbec Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Thu, 9 Dec 2021 12:42:40 +0100 Subject: [PATCH] Fixed small spelling mistakes. --- Examples/FFT_01/FFT_01.ino | 2 +- Examples/FFT_02/FFT_02.ino | 6 +++--- Examples/FFT_03/FFT_03.ino | 2 +- Examples/FFT_04/FFT_04.ino | 4 ++-- Examples/FFT_05/FFT_05.ino | 2 +- src/arduinoFFT.cpp | 4 ++-- src/arduinoFFT.h | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Examples/FFT_01/FFT_01.ino b/Examples/FFT_01/FFT_01.ino index ffeb852..39e3708 100644 --- a/Examples/FFT_01/FFT_01.ino +++ b/Examples/FFT_01/FFT_01.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray + Example of use of the FFT library Copyright (C) 2014 Enrique Condes This program is free software: you can redistribute it and/or modify diff --git a/Examples/FFT_02/FFT_02.ino b/Examples/FFT_02/FFT_02.ino index b621db3..e6262c9 100644 --- a/Examples/FFT_02/FFT_02.ino +++ b/Examples/FFT_02/FFT_02.ino @@ -1,8 +1,8 @@ /* - Example of use of the FFT libray to compute FFT for several signals over a range of frequencies. - The exponent is calculated once before the excecution since it is a constant. - This saves resources during the excecution of the sketch and reduces the compiled size. + Example of use of the FFT library to compute FFT for several signals over a range of frequencies. + The exponent is calculated once before the execution since it is a constant. + This saves resources during the execution of the sketch and reduces the compiled size. The sketch shows the time that the computing is taking. Copyright (C) 2014 Enrique Condes diff --git a/Examples/FFT_03/FFT_03.ino b/Examples/FFT_03/FFT_03.ino index 1e59279..b7c3fba 100644 --- a/Examples/FFT_03/FFT_03.ino +++ b/Examples/FFT_03/FFT_03.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray to compute FFT for a signal sampled through the ADC. + Example of use of the FFT library to compute FFT for a signal sampled through the ADC. Copyright (C) 2018 Enrique Condés and Ragnar Ranøyen Homb This program is free software: you can redistribute it and/or modify diff --git a/Examples/FFT_04/FFT_04.ino b/Examples/FFT_04/FFT_04.ino index 66d03b5..7aa5bb6 100644 --- a/Examples/FFT_04/FFT_04.ino +++ b/Examples/FFT_04/FFT_04.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray + Example of use of the FFT library Copyright (C) 2018 Enrique Condes This program is free software: you can redistribute it and/or modify @@ -26,7 +26,7 @@ of each of the frequencies that compose the signal are calculated. Finally, the frequency spectrum magnitudes are printed. If you use the Arduino IDE serial plotter, you will see a single spike corresponding to the 1000 Hz - frecuency. + frequency. */ #include "arduinoFFT.h" diff --git a/Examples/FFT_05/FFT_05.ino b/Examples/FFT_05/FFT_05.ino index 599616a..7050b10 100644 --- a/Examples/FFT_05/FFT_05.ino +++ b/Examples/FFT_05/FFT_05.ino @@ -1,6 +1,6 @@ /* - Example of use of the FFT libray + Example of use of the FFT library Copyright (C) 2014 Enrique Condes This program is free software: you can redistribute it and/or modify diff --git a/src/arduinoFFT.cpp b/src/arduinoFFT.cpp index fb602a9..f1e6d61 100644 --- a/src/arduinoFFT.cpp +++ b/src/arduinoFFT.cpp @@ -1,6 +1,6 @@ /* - FFT libray + FFT library Copyright (C) 2010 Didier Longueville Copyright (C) 2014 Enrique Condes @@ -230,7 +230,7 @@ void arduinoFFT::DCRemoval(double *vData, uint16_t samples) void arduinoFFT::Windowing(uint8_t windowType, uint8_t dir) {// Weighing factors are computed once before multiple use of FFT -// The weighing function is symetric; half the weighs are recorded +// The weighing function is symmetric; half the weighs are recorded double samplesMinusOne = (double(this->_samples) - 1.0); for (uint16_t i = 0; i < (this->_samples >> 1); i++) { double indexMinusOne = double(i); diff --git a/src/arduinoFFT.h b/src/arduinoFFT.h index c3c1a0b..7883145 100644 --- a/src/arduinoFFT.h +++ b/src/arduinoFFT.h @@ -1,6 +1,6 @@ /* - FFT libray + FFT library Copyright (C) 2010 Didier Longueville Copyright (C) 2014 Enrique Condes