UTHT / pod1-electronics-scripts

UTHT Pod 1 sensor libraries.
MIT License
0 stars 0 forks source link

Fixed MPU9250 Compatibility Issues on Arduino Due #21

Closed urmilmodi closed 3 years ago

urmilmodi commented 3 years ago

The MPU9250_Lib couldn't be declared as a global variable, which caused the code to get stuck trying to declare MPU9250. Fixed this by declaring the 'MPU9250' object dynamically in the setup function. Realized an issue with the datasetuo units array, it's not possible to include the dimension of the frequency measured FFT_AXIS (need to manipulate chars).

urmilmodi commented 3 years ago

image