icm20948
icm20948 copied to clipboard
📡 C Driver for the ICM-20948 9-Axis Telemetry sensor
I think you need to shift it to the left by 4 because right now you are setting bits 0 and 1 as far as I can tell
Currently the registers are hidden away from the developer and they do not have access to modifying individual bits as they would like. Re-work the source along with #11 so...
It would be nice to set the version in a .h file and have the versioning built into any resulting .lib files. As well as an API for retrieving the...
We don't need a .c and .cpp template file.. Remove the .cpp file. We function in C around here :laughing:
Currently the driver can only handle one instance of the IC. Make it to where you instead pass in your instance to the API, allowing a developer to have multiple...
All variables, structs, and functions need to be properly documented in the JavaDoc format so VScode will cleanly give helper/tooltip information to the developer.
When changing the full-scale select on the device for the accel, the values become incorrect, thus requiring a device calibration to apply new offsets to the sensor. A simple API...
The ICM20948 has a built in magnetometer accessible on the AUX I2C bus.
// Determine the scaling factor based on the Full scale select config // and then scale the values switch( settings.accel.fs ) { case ICM20948_ACCEL_FS_SEL_2G: accel->x /= 16; //I think 16384...