SHARE
TWEET

Untitled

krzxsiek Oct 6th, 2013 261 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <SimpleSDAudio.h>
  2.  
  3. void setup()
  4. {
  5.   SdPlay.init(SSDA_MODE_HALFRATE | SSDA_MODE_MONO | SSDA_MODE_AUTOWORKER);
  6. }
  7.  
  8. void loop(void) {
  9.  
  10.   SdPlay.setFile("DZWONEK.ahm");
  11.   SdPlay.play();
  12.   delay(2000);
  13.   SdPlay.setFile("WYBILA.ahm");
  14.   SdPlay.play();
  15.   delay(1000);
  16.   SdPlay.setFile("G22.ahm");
  17.   SdPlay.play();
  18.   delay(2000);
  19.   SdPlay.setFile("M57.ahm");
  20.   SdPlay.play();
  21.   delay(2000);
  22.   SdPlay.stop();
  23.  
  24. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top