Feather HUZZAH

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
duck50
 
Posts: 13
Joined: Fri Dec 04, 2020 4:39 pm

Feather HUZZAH

Post by duck50 »

ImageC:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp: In constructor 'Sensor::Sensor()':
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp:14:45: error: 'OPERATION_MODE_NDOF' is not a member of 'Adafruit_BNO055'
14 | sensor_found = bno->begin(Adafruit_BNO055::OPERATION_MODE_NDOF);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp: In member function 'void Sensor::saveCalibration()':
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp:120:33: error: 'OPERATION_MODE_CONFIG' is not a member of 'Adafruit_BNO055'
120 | bno->setMode (Adafruit_BNO055::OPERATION_MODE_CONFIG);
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp:141:33: error: 'OPERATION_MODE_NDOF' is not a member of 'Adafruit_BNO055'
141 | bno->setMode (Adafruit_BNO055::OPERATION_MODE_NDOF);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp: In member function 'void Sensor::installCalibration()':
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp:168:33: error: 'OPERATION_MODE_CONFIG' is not a member of 'Adafruit_BNO055'
168 | bno->setMode (Adafruit_BNO055::OPERATION_MODE_CONFIG);
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\n9xem\BANNED\Documents\Arduino\AutoSatTracker-ESP\Sensor.cpp:183:33: error: 'OPERATION_MODE_NDOF' is not a member of 'Adafruit_BNO055'
183 | bno->setMode (Adafruit_BNO055::OPERATION_MODE_NDOF);
| ^~~~~~~~~~~~~~~~~~~

exit status 1

Compilation error: 'OPERATION_MODE_NDOF' is not a member of 'Adafruit_BNO055'

User avatar
dastels
 
Posts: 15674
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather HUZZAH

Post by dastels »

Are all your libraries up to date?

Dave

User avatar
duck50
 
Posts: 13
Joined: Fri Dec 04, 2020 4:39 pm

Re: Feather HUZZAH

Post by duck50 »

No the author of the project said he used an older version of BNO055, so I used the one that he used.

User avatar
dastels
 
Posts: 15674
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather HUZZAH

Post by dastels »

Clearly that's not working very well. Try the latest version. You can always install an older one if needed.

Dave

User avatar
duck50
 
Posts: 13
Joined: Fri Dec 04, 2020 4:39 pm

Re: Feather HUZZAH

Post by duck50 »

installed v1.6.0 and still have the same error.

User avatar
dastels
 
Posts: 15674
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather HUZZAH

Post by dastels »

Is the AutoSatTracker-ESP library up to date as well. It's looking for something in the BNO library that isn't there. That's usually because something is out of date.

Dave

User avatar
gammaburst
 
Posts: 1015
Joined: Thu Dec 31, 2015 12:06 pm

Re: Feather HUZZAH

Post by gammaburst »

I noticed the AutoSatTracker-ESP library is 3 years old, and it bundles several 3-year old Adafruit libraries in its AutoSatTracker-ESP-master.zip. I'm not sure how to manage that type of project in the Arduino IDE, but I'm guessing it would be unwise to update the libraries that it includes.
https://github.com/bkerler/AutoSatTrack ... aster/libs

User avatar
duck50
 
Posts: 13
Joined: Fri Dec 04, 2020 4:39 pm

Re: Feather HUZZAH

Post by duck50 »

I us ed Ver 1.5.3 and the sketch compiled and loaded in to the feather. all is good now thanks for the help

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”