C:\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'
Feather HUZZAH
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Feather HUZZAH
Are all your libraries up to date?
Dave
Dave
- duck50
- Posts: 13
- Joined: Fri Dec 04, 2020 4:39 pm
Re: Feather HUZZAH
No the author of the project said he used an older version of BNO055, so I used the one that he used.
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Feather HUZZAH
Clearly that's not working very well. Try the latest version. You can always install an older one if needed.
Dave
Dave
- duck50
- Posts: 13
- Joined: Fri Dec 04, 2020 4:39 pm
Re: Feather HUZZAH
installed v1.6.0 and still have the same error.
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Feather HUZZAH
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
Dave
- gammaburst
- Posts: 1015
- Joined: Thu Dec 31, 2015 12:06 pm
Re: Feather HUZZAH
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
https://github.com/bkerler/AutoSatTrack ... aster/libs
- duck50
- Posts: 13
- Joined: Fri Dec 04, 2020 4:39 pm
Re: Feather HUZZAH
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
Please be positive and constructive with your questions and comments.