kopia lustrzana https://github.com/kosme/arduinoFFT
Optimize RAM usage on examples
rodzic
f8f2319ebf
commit
e30a5ed5cf
|
@ -35,9 +35,9 @@ arduinoFFT FFT = arduinoFFT(); /* Create FFT object */
|
||||||
These values can be changed in order to evaluate the functions
|
These values can be changed in order to evaluate the functions
|
||||||
*/
|
*/
|
||||||
const uint16_t samples = 64; //This value MUST ALWAYS be a power of 2
|
const uint16_t samples = 64; //This value MUST ALWAYS be a power of 2
|
||||||
double signalFrequency = 1000;
|
const double signalFrequency = 1000;
|
||||||
double samplingFrequency = 5000;
|
const double samplingFrequency = 5000;
|
||||||
uint8_t amplitude = 100;
|
const uint8_t amplitude = 100;
|
||||||
/*
|
/*
|
||||||
These are the input and output vectors
|
These are the input and output vectors
|
||||||
Input vectors receive computed results from FFT
|
Input vectors receive computed results from FFT
|
||||||
|
|
|
@ -26,7 +26,7 @@ These values can be changed in order to evaluate the functions
|
||||||
*/
|
*/
|
||||||
#define CHANNEL A0
|
#define CHANNEL A0
|
||||||
const uint16_t samples = 64; //This value MUST ALWAYS be a power of 2
|
const uint16_t samples = 64; //This value MUST ALWAYS be a power of 2
|
||||||
double samplingFrequency = 200;
|
const double samplingFrequency = 200;
|
||||||
|
|
||||||
unsigned int delayTime = 0;
|
unsigned int delayTime = 0;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue