Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

AHRS library not working with Nanos
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

AHRS library not working with Nanos

by Osy on Wed Feb 26, 2020 2:34 pm

I am using the NXP 9DOF breakout I bought from Adafruit. I have tried to run the Adafruit AHRS Calibration sketch on three different Arduino Nano boards these are my results:

33 iot - I compile and upload the code to the board but I get this error in my Serial port: "Failed to initialize calibration helper"

Every - Does not compile: "'SPR' was not declared in this scope"

33 BLE - Does not compile: "redefinition of 'struct stat'"

What gives? I have similar issues with the BNO055 breakout and libraries. How can I get these breakouts to work? Do I need a different board?


UPDATE:

Tried it with Arduino UNO and was able to get calibration data and plugged that to the ahrs_fusion but the serial monitor just prints a bunch of jibberish when I run it.

Osy
 
Posts: 3
Joined: Sun Dec 01, 2019 12:54 pm

Re: AHRS library not working with Nanos

by Osy on Thu Feb 27, 2020 1:55 pm

Anyone from Adafruit have a comment on this before I send the boards back?

Osy
 
Posts: 3
Joined: Sun Dec 01, 2019 12:54 pm

Please be positive and constructive with your questions and comments.