Skip to content

Commit

Permalink
Loop folder (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Makuna authored Jan 18, 2020
1 parent e5608bd commit 7093a50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ getVolume KEYWORD2
increaseVolume KEYWORD2
decreaseVolume KEYWORD2
loopGlobalTrack KEYWORD2
loopFolder KEYWORD2
getPlaybackMode KEYWORD2
setRepeatPlay KEYWORD2
setEq KEYWORD2
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=DFPlayer Mini Mp3 by Makuna
version=1.0.4
version=1.0.5
author=Michael C. Miller ([email protected])
maintainer=Michael C. Miller ([email protected])
sentence=Library for the DFPlayer Mini Mp3 module
Expand Down
7 changes: 7 additions & 0 deletions src/DFMiniMp3.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ template<class T_SERIAL_METHOD, class T_NOTIFICATION_METHOD> class DFMiniMp3
sendPacket(0x08, globalTrack);
}

// sd:/##/*
// 0-99
void loopFolder(uint8_t folder)
{
sendPacket(0x17, folder);
}

DfMp3_PlaybackMode getPlaybackMode()
{
drainResponses();
Expand Down

0 comments on commit 7093a50

Please sign in to comment.