We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30c0807 + d9d02d1 commit e4e350dCopy full SHA for e4e350d
examples/ScienceKitR2/PhysicsLabFirmware/config.h
@@ -45,14 +45,14 @@ void sensorsInit() {
45
INA.alertOnBusOverVoltage(true, 5000); // Trigger alert if over 5V on bus
46
47
// bmm150
48
- if (!BME.begin()) {
49
- Serial.println("Failed to initialize IMU!");
+ if (!BME.begin(BOSCH_MAGNETOMETER_ONLY)) {
+ Serial.println("Failed to initialize MAGNETOMETER!");
50
while (1);
51
}
52
53
// LSM6DSOX init
54
if (!IMU_SK.begin()) {
55
+ Serial.println("Failed to initialize ACCELEROMETER!");
56
57
58
Serial.println("IMU Initialized");
0 commit comments