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

compilation for Due #57

Open
perigalacticon opened this issue Nov 6, 2023 · 0 comments
Open

compilation for Due #57

perigalacticon opened this issue Nov 6, 2023 · 0 comments

Comments

@perigalacticon
Copy link

perigalacticon commented Nov 6, 2023

When I try to compile this for the Arduino Due, I get these errors:

0_Declarations:203:27: error: no matching function for call to 'DY::Player::Player(USARTClass*)' DY::Player player(&Serial2);

My code is:

In Declarations: DY::Player player(&Serial2); In Setup(): Serial2.begin(9600); player.begin(); player.setVolume(25); player.playSpecified(2);

In the loop() there are more playSpecifieds(x).

SoftwareSerial doesn't work on the Due, but there are 3 hardware serial ports, I used Serial2 successfully when I used the DFPlayer mini, but the DFPlayer mini is not reliable after weeks of investigation and I'd like to try a DY-5V8F module with dyplayer instead; and I need to use the Due as it is buried and integrated within a large robot project I am involved with.

@perigalacticon perigalacticon changed the title help with compilation for Due compilation for Due Nov 6, 2023
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