JQ8400 MP3 Player Arduino Library
A simple library to control a JQ8400 MP3 Player Module from an Arduino.
JQ8400_Serial.h File Reference

Arduino Library for JQ8400 MP3 Module. More...

Go to the source code of this file.

Classes

class  JQ8400_Serial
 

Macros

#define MP3_EQ_NORMAL   0
 
#define MP3_EQ_POP   1
 
#define MP3_EQ_ROCK   2
 
#define MP3_EQ_JAZZ   3
 
#define MP3_EQ_CLASSIC   4
 
#define MP3_SRC_USB   0
 
#define MP3_SRC_SDCARD   1
 
#define MP3_SRC_FLASH   2
 
#define MP3_SRC_BUILTIN   MP3_SRC_FLASH
 
#define MP3_LOOP_ALL   0
 
#define MP3_LOOP_ALL_STOP   7
 
#define MP3_LOOP_ALL_RANDOM   3
 
#define MP3_LOOP_ONE   1
 
#define MP3_LOOP_ONE_STOP   2
 
#define MP3_LOOP_FOLDER   4
 
#define MP3_LOOP_FOLDER_RANDOM   5
 
#define MP3_LOOP_FOLDER_STOP   6
 
#define MP3_LOOP_NONE   2
 
#define MP3_STATUS_STOPPED   0
 
#define MP3_STATUS_PLAYING   1
 
#define MP3_STATUS_PAUSED   2
 
#define MP3_STATUS_CHECKS_IN_AGREEMENT   1
 
#define MP3_DEBUG   0
 
#define HEX_PRINT(a)   if(a < 16) Serial.print(0); Serial.print(a, HEX);
 

Detailed Description

Arduino Library for JQ8400 MP3 Module.

Copyright (C) 2019 James Sleeman, http://sparks.gogo.co.nz/jq6500/index.html

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author
James Sleeman, http://sparks.gogo.co.nz/ MIT License