Skip to content

Commit

Permalink
docs: Cleans up docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui committed Oct 31, 2024
1 parent 02265c8 commit 88a28e7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/imu/imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,25 @@
#include <cmath>
#include <map>
#include <vector>
#define SERIAL_PORT Serial


#define WIRE_PORT Wire
#define AD0_VAL 1 //should be set to 0, currently for dev board need to change to 1

/**
* @brief ICM20948 I2C Address Selector Bit
*
* Set to 0 on final design, set to 1 for dev board.
*
*/
#define AD0_VAL 1 // should be set to 0, currently for dev board need to change to 1

/**
* @brief Gibibyte in bytes
*
*/
#define GIB 1073741824

ICM_20948_I2C myICM;


float getAccMG( int16_t raw, uint8_t fss );
float getGyrDPS( int16_t raw, uint8_t fss );
float getMagUT( int16_t raw );
Expand Down

0 comments on commit 88a28e7

Please sign in to comment.