 int chanImpulse; 
 int chanPrevImpulse;
 int chanChangeCount;
-int chanThreshold[] = {4,4,4,4};
+
+// Here are the main levers which control the operation of this program
+#define increaseWindow 9
+#define pureIncreaseThreshold 5
+#define increaseThresholdWithImpulse 3
+#define impulseThreshold 4
+#define glowTime_ms 6
 
 void loop() {
-    senseResults = senseAll(1500, true);
+    senseResults = senseAll(1300, true);
     
     smoothedSenseIter = (smoothedSenseIter + 1) % smoothedSenseSize;
 

      switchedCount--;
    }
    
    delay(8);
}

    
// Set ADC initialization bits - make sure things haven't gotten misconfigured.  
    // 6: right adjust bits // last 5 bits select ADC.
    ADMUX = adcSensePorts[3];
    // high speed mode / 0 / analog selection, extra bit.
    ADCSRB = B10100000;
    // disable adc
