on) {
oldPosition = newPosition;
//Serial.println(newPosition);
}
// FFT
float n;
int ... // each time new FFT data is available
// print it all to the Arduino Serial Monitor
Serial.print("FFT: ");
for (i=0; i<40; i++) {
n = fft... _1.read(i);
if (n >= 0.01) {
Serial.print(n);
Serial.print(" ");
} else {
// each time new FFT data is available
// print it all to the Arduino Serial Monitor
Serial.print("FFT: ");
for (i=0; i<40; i++) {
n = fft... _1.read(i);
if (n >= 0.01) {
Serial.print(n);
Serial.print(" ");
} else {
Serial.print(" - "); // don't print "0.00"