Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loop detected #4

Open
coookiecoder opened this issue Jul 10, 2024 · 0 comments
Open

loop detected #4

coookiecoder opened this issue Jul 10, 2024 · 0 comments

Comments

@coookiecoder
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant