DFPlayerMini_Fast
|
#include "Arduino.h"
#include "FireTimer.h"
Go to the source code of this file.
Classes | |
class | DFPlayerMini_Fast |
Class for interacting with DFPlayerMini MP3 player. More... | |
struct | DFPlayerMini_Fast::stack |
Namespaces | |
dfplayer | |
Namespace for constants. | |
Variables | |
const uint8_t | dfplayer::STACK_SIZE = 10 |
const uint8_t | dfplayer::SB = 0x7E |
const uint8_t | dfplayer::VER = 0xFF |
const uint8_t | dfplayer::LEN = 0x6 |
const uint8_t | dfplayer::FEEDBACK = 1 |
const uint8_t | dfplayer::NO_FEEDBACK = 0 |
const uint8_t | dfplayer::EB = 0xEF |
const uint8_t | dfplayer::NEXT = 0x01 |
const uint8_t | dfplayer::PREV = 0x02 |
const uint8_t | dfplayer::PLAY = 0x03 |
const uint8_t | dfplayer::INC_VOL = 0x04 |
const uint8_t | dfplayer::DEC_VOL = 0x05 |
const uint8_t | dfplayer::VOLUME = 0x06 |
const uint8_t | dfplayer::EQ = 0x07 |
const uint8_t | dfplayer::PLAYBACK_MODE = 0x08 |
const uint8_t | dfplayer::PLAYBACK_SRC = 0x09 |
const uint8_t | dfplayer::STANDBY = 0x0A |
const uint8_t | dfplayer::NORMAL = 0x0B |
const uint8_t | dfplayer::RESET = 0x0C |
const uint8_t | dfplayer::PLAYBACK = 0x0D |
const uint8_t | dfplayer::PAUSE = 0x0E |
const uint8_t | dfplayer::SPEC_FOLDER = 0x0F |
const uint8_t | dfplayer::VOL_ADJ = 0x10 |
const uint8_t | dfplayer::REPEAT_PLAY = 0x11 |
const uint8_t | dfplayer::USE_MP3_FOLDER = 0x12 |
const uint8_t | dfplayer::INSERT_ADVERT = 0x13 |
const uint8_t | dfplayer::SPEC_TRACK_3000 = 0x14 |
const uint8_t | dfplayer::STOP_ADVERT = 0x15 |
const uint8_t | dfplayer::STOP = 0x16 |
const uint8_t | dfplayer::REPEAT_FOLDER = 0x17 |
const uint8_t | dfplayer::RANDOM_ALL = 0x18 |
const uint8_t | dfplayer::REPEAT_CURRENT = 0x19 |
const uint8_t | dfplayer::SET_DAC = 0x1A |
const uint8_t | dfplayer::SEND_INIT = 0x3F |
const uint8_t | dfplayer::RETRANSMIT = 0x40 |
const uint8_t | dfplayer::REPLY = 0x41 |
const uint8_t | dfplayer::GET_STATUS_ = 0x42 |
const uint8_t | dfplayer::GET_VOL = 0x43 |
const uint8_t | dfplayer::GET_EQ = 0x44 |
const uint8_t | dfplayer::GET_MODE = 0x45 |
const uint8_t | dfplayer::GET_VERSION = 0x46 |
const uint8_t | dfplayer::GET_TF_FILES = 0x47 |
const uint8_t | dfplayer::GET_U_FILES = 0x48 |
const uint8_t | dfplayer::GET_FLASH_FILES = 0x49 |
const uint8_t | dfplayer::KEEP_ON = 0x4A |
const uint8_t | dfplayer::GET_TF_TRACK = 0x4B |
const uint8_t | dfplayer::GET_U_TRACK = 0x4C |
const uint8_t | dfplayer::GET_FLASH_TRACK = 0x4D |
const uint8_t | dfplayer::GET_FOLDER_FILES = 0x4E |
const uint8_t | dfplayer::GET_FOLDERS = 0x4F |
const uint8_t | dfplayer::EQ_NORMAL = 0 |
const uint8_t | dfplayer::EQ_POP = 1 |
const uint8_t | dfplayer::EQ_ROCK = 2 |
const uint8_t | dfplayer::EQ_JAZZ = 3 |
const uint8_t | dfplayer::EQ_CLASSIC = 4 |
const uint8_t | dfplayer::EQ_BASE = 5 |
const uint8_t | dfplayer::REPEAT = 0 |
const uint8_t | dfplayer::FOLDER_REPEAT = 1 |
const uint8_t | dfplayer::SINGLE_REPEAT = 2 |
const uint8_t | dfplayer::RANDOM = 3 |
const uint8_t | dfplayer::U = 1 |
const uint8_t | dfplayer::TF = 2 |
const uint8_t | dfplayer::AUX = 3 |
const uint8_t | dfplayer::SLEEP = 4 |
const uint8_t | dfplayer::FLASH = 5 |
const uint8_t | dfplayer::VOL_ADJUST = 0x10 |
const uint8_t | dfplayer::STOP_REPEAT = 0 |
const uint8_t | dfplayer::START_REPEAT = 1 |
This is the documentation for the YX5200-24SS MP3 player driver code for the Arduino platform. It is designed specifically to work with the DFPlayerMini breakout
These MP3 players use UART to communicate, 2 pins (TX + RX) are required to interface with the breakout. An external power supply and output amp improves the MP3 player's functionality. Also, see the wiki for more detailed wiring instructions.
Written by Power_Broker as a hobby.
None.