Skip to content

loop detected #4

Description

@coookiecoder

with 2 module and a rasbperry pi pico this part of the code loop at the second init

	if (!waitResponse(DFPLAYER_RESET_TIMEOUT, DFPLAYER_CODE_READY)) {
		while (true) {
			Serial.println(F("DFPlayer not responding - REBOOT"));
			delay(5000);
		}
	}

adding a break in the while "fix" the issue
BTW : code works fine on arduino nano (2 player)

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