Skip to content

Commit

Permalink
modified i2c address for bmp390L
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 29, 2024
1 parent bd38595 commit c1e705b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
TwoWire WireI2C(20, 21);
UART RFD900_RADIO(12, 13);
DFRobot_QMC5883 compass(&WireI2C, /*I2C addr*/QMC5883_ADDRESS);
DFRobot_BMP390L_I2C baro(&WireI2C, baro.eSDOVDD);
DFRobot_BMP390L_I2C baro(&WireI2C, baro.eSDOGND);
BMI270 imu;
volatile float declinationAngle = (11.0 + (7.0 / 60.0)) / (180 / PI);
uint8_t bmiAddress = BMI2_I2C_PRIM_ADDR; // 0x68
Expand Down

0 comments on commit c1e705b

Please sign in to comment.