Fix error: Arduino_NineAxesMotion.h #endif and void begin(unassigned int) #19
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
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 namedUSE:
#endif //__NAXISMOTION_H__
Thanks for your time.
Keep me informed.
Ben
The text was updated successfully, but these errors were encountered: