Skip to content

Wrong LSB in stopRepeat()? #77

Description

@laurin-op

While debugging a project where i need some files to loop if nothing else happens, I eventually dug into your library code.

The startRepeat() and stopRepeat() functionality didn't seem to work and I thought I misunderstood how the feature works, but the datasheet says that the LSB for the "repeat playback of current track" command should be 0 to turn on and 1 to turn off.

Looking through your library code I found that both startRepeat() and stopRepeat() set the LSB to 0.

Maybe this is a case of difference between DFPlayerMini boards, otherwise it's an easy fix.

For anyone having the same problem: Luckily the methods of the library are all public, so you can copy what stopRepeat() is doing and just set the LSB to 1 and send the command manually. Or you can change it in your local copy of the library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions