MCPcopy Create free account
hub / github.com/PowerBroker2/DFPlayerMini_Fast / playFromMP3Folder

Method playFromMP3Folder

src/DFPlayerMini_Fast.cpp:165–174  ·  view source on GitHub ↗

/ ! @brief Play a specific track in the folder named "MP3". @param trackNum The track number to play. */ /

Source from the content-addressed store, hash-verified

163 */
164 /**************************************************************************/
165void DFPlayerMini_Fast::playFromMP3Folder(uint16_t trackNum)
166{
167 sendStack.commandValue = dfplayer::USE_MP3_FOLDER;
168 sendStack.feedbackValue = dfplayer::NO_FEEDBACK;
169 sendStack.paramMSB = (trackNum >> 8) & 0xFF;
170 sendStack.paramLSB = trackNum & 0xFF;
171
172 findChecksum(sendStack);
173 sendData();
174}
175
176
177

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected