     digitalWrite(targetPin, LOW); // write the buzzer pin low to pull back the diaphram
     delayMicroseconds(delayValue); // wait again or the calculated delay value
   }
-  digitalWrite(13, LOW);
- 
-}
+  digitalWrite(10, LOW);
+ 
+}

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

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