SHARE
TWEET

Untitled

a guest Oct 15th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  buzzer.playNote(NOTE_B4, 250);
  2.   delay(250);
  3.   buzzer.playNote(NOTE_A4, 250);
  4.   delay(250);
  5.   buzzer.playNote(NOTE_G4, 250);
  6.   delay(250);
  7.   buzzer.playNote(NOTE_A4, 250);
  8.   delay(250); // Measure 2
  9.   buzzer.playNote(NOTE_B4, 250);
  10.   delay(250);
  11.   buzzer.playNote(NOTE_B4, 250);
  12.   delay(250);
  13.   buzzer.playNote(NOTE_B4, 250);
  14.   delay(500); // We delay a little longer here to emulate the half note      // Measure 3  
  15.   buzzer.playNote(NOTE_A4, 250);
  16.   delay(250);
  17.   buzzer.playNote(NOTE_A4, 250);
  18.   delay(250);
  19.   buzzer.playNote(NOTE_A4, 500);
  20.   delay(500); // We delay a little longer here to emulate the half note      // Measure 4    
  21.   buzzer.playNote(NOTE_B4, 250);
  22.   delay(250);
  23.   buzzer.playNote(NOTE_D5, 250);
  24.   delay(250);
  25.   buzzer.playNote(NOTE_D5, 500);
  26.   delay(500); // We delay a little longer here to emulate the half note      // Measure 5  
  27.   buzzer.playNote(NOTE_B4, 250);
  28.   delay(250);
  29.   buzzer.playNote(NOTE_A4, 250);
  30.   delay(250);
  31.   buzzer.playNote(NOTE_G4, 250);
  32.   delay(250);
  33.   buzzer.playNote(NOTE_A4, 250);
  34.   delay(250); // Measure 6
  35.   buzzer.playNote(NOTE_B4, 250);
  36.   delay(250);
  37.   buzzer.playNote(NOTE_B4, 250);
  38.   delay(250);
  39.   buzzer.playNote(NOTE_B4, 500);
  40.   delay(500); // We delay a little longer here to emulate the half note      // Measure 7  
  41.   buzzer.playNote(NOTE_A4, 250);
  42.   delay(250);
  43.   buzzer.playNote(NOTE_A4, 250);
  44.   delay(250);
  45.   buzzer.playNote(NOTE_B4, 250);
  46.   delay(250);
  47.   buzzer.playNote(NOTE_A4, 250);
  48.   delay(250); // Measure 8
  49.   buzzer.playNote(NOTE_G4, 1000);
  50.   delay(1000);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top