  
 void setup(void)
 {
-  pinMode(10, OUTPUT);//buzzer
-  pinMode(13, OUTPUT);//led indicator when singing a note
+  pinMode(13, OUTPUT);//buzzer
+  pinMode(10, OUTPUT);//led indicator when singing a note
  
 }
 void loop()

}
 
void buzz(int targetPin, long frequency, long length) {
  digitalWrite(13, HIGH);
  long delayValue = 1000000 / frequency / 2; // calculate the delay value between transitions
  //// 1 second's worth of microseconds, divided by the frequency, then split in half since
  //// there are two phases to each cycle

#define NOTE_D8  4699
#define NOTE_DS8 4978
 
#define melodyPin 13
//Mario main theme melody
int melody[] = {
  NOTE_E7, NOTE_E7, 0, NOTE_E7,
