DFPlayerMini_Fast
Variables
dfplayer Namespace Reference

Namespace for constants. More...

Variables

const uint8_t STACK_SIZE = 10
 
const uint8_t SB = 0x7E
 
const uint8_t VER = 0xFF
 
const uint8_t LEN = 0x6
 
const uint8_t FEEDBACK = 1
 
const uint8_t NO_FEEDBACK = 0
 
const uint8_t EB = 0xEF
 
const uint8_t NEXT = 0x01
 
const uint8_t PREV = 0x02
 
const uint8_t PLAY = 0x03
 
const uint8_t INC_VOL = 0x04
 
const uint8_t DEC_VOL = 0x05
 
const uint8_t VOLUME = 0x06
 
const uint8_t EQ = 0x07
 
const uint8_t PLAYBACK_MODE = 0x08
 
const uint8_t PLAYBACK_SRC = 0x09
 
const uint8_t STANDBY = 0x0A
 
const uint8_t NORMAL = 0x0B
 
const uint8_t RESET = 0x0C
 
const uint8_t PLAYBACK = 0x0D
 
const uint8_t PAUSE = 0x0E
 
const uint8_t SPEC_FOLDER = 0x0F
 
const uint8_t VOL_ADJ = 0x10
 
const uint8_t REPEAT_PLAY = 0x11
 
const uint8_t USE_MP3_FOLDER = 0x12
 
const uint8_t INSERT_ADVERT = 0x13
 
const uint8_t SPEC_TRACK_3000 = 0x14
 
const uint8_t STOP_ADVERT = 0x15
 
const uint8_t STOP = 0x16
 
const uint8_t REPEAT_FOLDER = 0x17
 
const uint8_t RANDOM_ALL = 0x18
 
const uint8_t REPEAT_CURRENT = 0x19
 
const uint8_t SET_DAC = 0x1A
 
const uint8_t SEND_INIT = 0x3F
 
const uint8_t RETRANSMIT = 0x40
 
const uint8_t REPLY = 0x41
 
const uint8_t GET_STATUS_ = 0x42
 
const uint8_t GET_VOL = 0x43
 
const uint8_t GET_EQ = 0x44
 
const uint8_t GET_MODE = 0x45
 
const uint8_t GET_VERSION = 0x46
 
const uint8_t GET_TF_FILES = 0x47
 
const uint8_t GET_U_FILES = 0x48
 
const uint8_t GET_FLASH_FILES = 0x49
 
const uint8_t KEEP_ON = 0x4A
 
const uint8_t GET_TF_TRACK = 0x4B
 
const uint8_t GET_U_TRACK = 0x4C
 
const uint8_t GET_FLASH_TRACK = 0x4D
 
const uint8_t GET_FOLDER_FILES = 0x4E
 
const uint8_t GET_FOLDERS = 0x4F
 
const uint8_t EQ_NORMAL = 0
 
const uint8_t EQ_POP = 1
 
const uint8_t EQ_ROCK = 2
 
const uint8_t EQ_JAZZ = 3
 
const uint8_t EQ_CLASSIC = 4
 
const uint8_t EQ_BASE = 5
 
const uint8_t REPEAT = 0
 
const uint8_t FOLDER_REPEAT = 1
 
const uint8_t SINGLE_REPEAT = 2
 
const uint8_t RANDOM = 3
 
const uint8_t U = 1
 
const uint8_t TF = 2
 
const uint8_t AUX = 3
 
const uint8_t SLEEP = 4
 
const uint8_t FLASH = 5
 
const uint8_t VOL_ADJUST = 0x10
 
const uint8_t STOP_REPEAT = 0
 
const uint8_t START_REPEAT = 1
 

Detailed Description

Namespace for constants.

Variable Documentation

◆ STACK_SIZE

const uint8_t dfplayer::STACK_SIZE = 10

Packet Values

◆ NEXT

const uint8_t dfplayer::NEXT = 0x01

Control Command Values

◆ SEND_INIT

const uint8_t dfplayer::SEND_INIT = 0x3F

Query Command Values

◆ EQ_NORMAL

const uint8_t dfplayer::EQ_NORMAL = 0

EQ Values

◆ REPEAT

const uint8_t dfplayer::REPEAT = 0

Mode Values

◆ U

const uint8_t dfplayer::U = 1

Playback Source Values

◆ VOL_ADJUST

const uint8_t dfplayer::VOL_ADJUST = 0x10

Base Volume Adjust Value

◆ STOP_REPEAT

const uint8_t dfplayer::STOP_REPEAT = 0

Repeat Play Values