Library is not compiling

Can somebody tell me why this code is not compiling?
I can only see an error at the bottom of the IDE saying "build didn’t produce binary Error: Command failed…
But when I click it doesn’t show me anything

That’s failing because there are two L3G4200D files, one with a .cpp and one with a .ino extension. This won’t work because both files compile to L3G4200D.o, one overwrites the other, and then the build gets confused. Rename one of them, for example L3G4200DTest.ino.

2 Likes

thanks!, it worked!

1 Like