Created
June 27, 2016 14:09
-
-
Save xseignard/356f5698b41c286604092ef466415a3e to your computer and use it in GitHub Desktop.
dfplayer_somo2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// #include <Somo2.h> | |
// | |
// Somo2 somo(11, 12); | |
// void setup () { | |
// somo.begin(); | |
// somo.reset(); | |
// delay(1000); | |
// somo.setVolume(30); | |
// somo.playTrack(1, 3); | |
// } | |
// | |
// void loop () { | |
// | |
// } | |
#include <SoftwareSerial.h> | |
#include <DFPlayer_Mini_Mp3.h> | |
SoftwareSerial mySerial(11, 12); | |
void setup () { | |
mySerial.begin(9600); | |
mp3_set_serial(mySerial); | |
mp3_set_volume(30); | |
delay(1000); | |
mp3_play(1); | |
} | |
void loop () { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment