Giter VIP home page Giter VIP logo

mp3shield's Introduction

Library for the Arduino MP3 Shield

Elechouse Inc.
www.elechouse.com

*******************************************************************************
-------------------------------------------------------------------------------
Version 0.2.0	2012-12-13
	add support to software serial, change begin() to begin(serial_type st)

-------------------------------------------------------------------------------
Version 0.1.0
	initial version.
	
-------------------------------------------------------------------------------
Features:
- Supply fuctions below:
		/** begin function, Arduino style */
		void begin();
		/** MP3 shield basic send command function */
		void send_cmd(u8 *cmd);
		/** play music in SD, and choose SD mode */
		void play_sd(u16 num);
		/** play music in USB, and choose USB mode */
		void play_usb_disk(u16 num);
		/** play music in SPI FLASH */
		void play_spi_flash(u16 num);
		/** play next music */
		void next();
		/** play previous music */
		void previous();
		/** pause when play, play when pause */
		void pause();
		/** stop playing */
		void stop();
		/** set volume */
		void volume(u8 vol);
		/** set mode, Use SINGLE, REPEAT, CYCLE or RANDOM as parameter */
		void set_mode(u8 mode);
		/** copy files from SD to SPI FLASH */
		void sd_to_flash(void);
		/** copy files from USB to SPI FLASH */
		void usb_to_flash(void);
- Provides a sample application which demonstrates the use of the MP3 library

-------------------------------------------------------------------------------
Warnings:
	1. SD card and USB-Disk must be plug in before Power On. The Arduino MP3 
		Shield don't surpport Hot-swappable.
	2. In this MP3 library, the arduino delay 3s to wait the arduino MP3 Shiled
		be stable.
	3. When upload the Arduino board(UNO etc.), you must pull out the Arduino 
		MP3	shield from Arduino board. This because the Arduino MP3 Shield is
		connected with Arduino through UART.
		
-------------------------------------------------------------------------------
How To:
	1. Close your Arduio
	2. Find the path of you Arduino, suppose to $ARDUION_PATH$
	3. cpy MP3 Folder to $ARDUION_PATH$/libraries
	4. Start up your Arduino IDE
	5. Open File->Examples->MP3->MP3
	6. Compile and upload the program
	7. Plug back
	
-------------------------------------------------------------------------------
Known issues:
None
-------------------------------------------------------------------------------
*******************************************************************************

mp3shield's People

Contributors

wilson-elechouse avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.