Sketch error in BNO080 library

Hi, i tried to run one of the sketches in the BNO080 github repo but run into an error.

I opened a github issue here: https://github.com/sparkfun/SparkFun_BN … /issues/33

The example for the ActivityClassifier.ino seems to be broken.

It seems that ‘printActivityName’ was not declared.

Error in Arduino IDE: ‘printActivityName’ was not declared in this scope

I tried to define it but get ‘printActivityName’ cannot be used as a function.

Any tips?

Thanks,

Andreas

Hi Andreas,

I am not able to replicate that error on my end here using v1.1.6 of the library and Example 8. Try checking to make sure you have the latest version of the library installed using the Library Manager tool and retest. Also, so I can try and recreate the problem, what version of Arduino are you using and what operating system are you using?