페이지 정보작성자 키트 작성일2017-09-11 16:47 조회661회 댓글0건
Example sketch of using the MP3Shield Arduino driver, demonstrating all methods and functions. More...
#include <SFEMP3Shield.h>Include dependency graph for MP3Shield_Library_Demo.ino:
void setup () Setup the Arduino Chip's feature for our use. More... void loop () Main Loop the Arduino Chip. More... void parse_menu (byte key_command) Decode the Menu. More... void help () Print Help Menu. More...
SdFat sd Object instancing the SdFat library. More... SFEMP3Shield MP3player Object instancing the SFEMP3Shield library. More... uint32_t millis_prv
Example sketch of using the MP3Shield Arduino driver, demonstrating all methods and functions.
- comments are implemented with Doxygen Markdown format
This sketch listens for commands from a serial terminal (like the Serial Monitor in the Arduino IDE). If it sees 1-9 it will try to play an MP3 file named track00x.mp3 where x is a number from 1 to 9. For eaxmple, pressing 2 will play 'track002.mp3'. A lowe case 's' will stop playing the mp3. 'f' will play an MP3 by calling it by it's filename as opposed to a track number.
Sketch assumes you have MP3 files with filenames like "track001.mp3", "track002.mp3", etc on an SD card loaded into the shield.
Definition in file MP3Shield_Library_Demo.ino.
등록된 댓글이 없습니다.