sparkfun / SparkFun_BNO08x_Arduino_Library

An Arduino Library for the BNO08x IMU combination triple axis accelerometer/gyro/magnetometer packaged with an ARM Cortex M0+ running powerful algorithms.
Other
14 stars 7 forks source link

enable report interval issue. #24

Open hellooutthere2 opened 1 week ago

hellooutthere2 commented 1 week ago

Subject of the issue

As written report interval can't exceed 64 milliseconds

Your workbench

ESP32 and BNO085

Steps to reproduce

for bool enableGeomagneticRotationVector(uint16_t timeBetweenReports = 10); Set parameter timeBetweenReports to 100.. i.e. anything > 64

Expected behavior

I should be able to set this value greater than 64

Actual behavior

As the value is increased it folds back to behave 0-64 milliseconds

Correction

Change timeBetweenReports uint16_t to uint32_t for all enable report methods.