SHARE
TWEET

Untitled

a guest Jan 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void playNote(int note, int duration, float rest) {
  2.       digitalWrite(led, HIGH);
  3.       tone(buzzer, note, duration);
  4.       delay((duration * rest)/2);
  5.       digitalWrite(led, LOW);
  6.       delay((duration * rest)/2);
  7.     }
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