 
   configureToneTimer();   //setup timer used for tone
 
+  digitalWrite(PIN_LED2, 1);
   setFrequencytone(400);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(600);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(800);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(1000);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(1200);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(1000);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(800);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(600);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(400);
-  delay(200);
+  delay(STARTUP_TONES_DELAY);
   setFrequencytone(0);
+  digitalWrite(PIN_LED2, 0);
   
   // timer callback is used for turning tone on/off.
   Timer4.attachInterrupt(tonePlayHandler);

      } 
}



void configureToneTimer() {
  // Configure TONE_PIN pin as timer output

float NewRange, NewValue;

char inChar;                    // store single serial input char here.
#define MAXSIZE 90              // max length of string
char input[MAXSIZE+1];          // buffer for full serial data input string.
int inputPos = 0;               // current postion of serial data.
char tempBuf[90];               // misc char buffer used for debug

void setup() {
  // put your setup code here, to run once:
