Arduino_NineAxesMotion icon indicating copy to clipboard operation
Arduino_NineAxesMotion copied to clipboard

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

Open BrcBenjamin opened this issue 3 years ago • 0 comments

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 avatar Mar 14 '22 21:03 BrcBenjamin