/ ! @brief Play a specific track from a specific folder, where the track names are numbered 4 digit (e.g. 1234-mysong.mp3) and can be up to 3000. Only 15 folders ("01" to "15") are supported in this mode. @param folderNum The folder number. @param trackNum The track number to play. */ /
| 475 | */ |
| 476 | /**************************************************************************/ |
| 477 | void DFPlayerMini_Fast::playLargeFolder(uint8_t folderNum, uint16_t trackNum) |
| 478 | { |
| 479 | const uint16_t arg = (((uint16_t)folderNum) << 12) | (trackNum & 0xfff); |
| 480 | |
| 481 | sendStack.commandValue = dfplayer::SPEC_TRACK_3000; |
| 482 | sendStack.feedbackValue = dfplayer::NO_FEEDBACK; |
| 483 | sendStack.paramMSB = arg >> 8; |
| 484 | sendStack.paramLSB = arg & 0xff; |
| 485 | |
| 486 | findChecksum(sendStack); |
| 487 | sendData(); |
| 488 | } |
| 489 | |
| 490 | /**************************************************************************/ |
| 491 | /*! |
nothing calls this directly
no outgoing calls
no test coverage detected