Optimize RAM usage on examples

pull/8/head
Enrique Condes 2017-08-03 13:41:57 -05:00
rodzic f8f2319ebf
commit e30a5ed5cf
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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;