 #define LIN_OUT 1 // use the linear output function
 #define FFT_N 128 // set number of FFT points
-#define DEBUG 0   // set to 1 to turn on Serial printing
+#define DEBUG 1   // set to 1 to turn on Serial printing
 
 #include <math.h>
 #include <FFT.h>

        }
    }

    frequency = (peak_index * (SAMPLE_RATE / SKIP_MULT)) / (FFT_N / 4);
    // Note, using approximate max for scaling brightness as:
    // 1.5 * max bin size minus our MIN_FFT_SUM lower cutoff
    brightness = round(1.0 * MAX_BRIGHTNESS * sum_fft / (MAX_FFT_BIN * 1.5 - MIN_FFT_SUM));

        Serial.print(frequency);
        Serial.print("\tBrightness: ");
        Serial.println(brightness);
        
        Serial.print("Red: ");
        Serial.print(color_palette[peak_index].red);
        Serial.print("\tGreen: ");
        Serial.print(color_palette[peak_index].green);
        Serial.print("\tBlue: ");
        Serial.println(color_palette[peak_index].blue);
    }
}


