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

Fix error: Arduino_NineAxesMotion.h #endif and void begin(unassigned int) #19

Open
BrcBenjamin opened this issue Mar 14, 2022 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@BrcBenjamin
Copy link

Hey guys,
I have a school project using a NineAxesMotion Shield.
When i download your library, i found 2 error on the Arduino_NineAxesMotion.h file that make crash compilation of your example program.

Line 722 :

void begin(unsigned int address = 0x28) doesn't need the address = 0x28 because it's given by the cpp file.
USE :
void begin(unsigned int address)

Line 766:

#endif __NAXISMOTION_H__ An endif doesn't need to be named
USE:
#endif //__NAXISMOTION_H__

Thanks for your time.
Keep me informed.

Ben

@BrcBenjamin BrcBenjamin changed the title Error: Arduino_NineAxesMotion.h #endif and void begin(unassigned int) Fix error: Arduino_NineAxesMotion.h #endif and void begin(unassigned int) Mar 14, 2022
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants