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

Method loop

src/DFPlayerMini_Fast.cpp:312–321  ·  view source on GitHub ↗

/ ! @brief Loop a specific track. @param trackNum The track number to play. */ /

Source from the content-addressed store, hash-verified

310 */
311 /**************************************************************************/
312void DFPlayerMini_Fast::loop(uint16_t trackNum)
313{
314 sendStack.commandValue = dfplayer::PLAYBACK_MODE;
315 sendStack.feedbackValue = dfplayer::NO_FEEDBACK;
316 sendStack.paramMSB = (trackNum >> 8) & 0xFF;
317 sendStack.paramLSB = trackNum & 0xFF;
318
319 findChecksum(sendStack);
320 sendData();
321}
322
323
324

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected