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

Versioning Issues? "CurieIMU" vs "CurieIMU" #1

Open
shanselman opened this issue Mar 2, 2016 · 2 comments
Open

Versioning Issues? "CurieIMU" vs "CurieIMU" #1

shanselman opened this issue Mar 2, 2016 · 2 comments

Comments

@shanselman
Copy link

When I see things like this:

C:\Users\scott\Desktop\blink\blink.ino: In function 'void setup()':
blink:22: error: 'CurieIMU' was not declared in this scope
   CurieIMU.begin();
blink:27: error: 'X_AXIS' was not declared in this scope
     Serial.print(CurieIMU.getAccelerometerOffset(X_AXIS)); Serial.print("\t");

Is this indicating an error finding libraries on my side? Or an issue with the code?

@shanselman shanselman changed the title Scoping issues? Versioning Issues? "CurieIMU" vs "CurieIMU" Mar 2, 2016
@shanselman
Copy link
Author

Looks like some case changes? I'm looking at https://www.arduino.cc/en/Tutorial/Genuino101CurieIMUOrientationVisualiser but seeing CurieIMUin places and CurieImuin others.

Also, getAccelerometerOffsetdoesn't seem to be in the libraries I downloaded. I'm happy to help with a readme if I could better understand what's happening here.

@facchinm
Copy link
Member

facchinm commented Mar 2, 2016

Hi @shanselman ,
the OrientationVisualizer example has been updated to the upcoming "revamp" of the IMU library, hence the name clash and new functions.
The updated library will be published with the 101 core in the next weeks.
If you want to test the example using the current API you can use the "old" example here

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

2 participants