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

Method playbackSource

src/DFPlayerMini_Fast.cpp:333–345  ·  view source on GitHub ↗

/ ! @brief Specify the playback source. @param source The playback source ID. */ /

Source from the content-addressed store, hash-verified

331 */
332 /**************************************************************************/
333void DFPlayerMini_Fast::playbackSource(uint8_t source)
334{
335 if ((source > 0) && (source <= 5))
336 {
337 sendStack.commandValue = dfplayer::PLAYBACK_SRC;
338 sendStack.feedbackValue = dfplayer::NO_FEEDBACK;
339 sendStack.paramMSB = 0;
340 sendStack.paramLSB = source;
341
342 findChecksum(sendStack);
343 sendData();
344 }
345}
346
347
348

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected