Merge branch 'feather_sense_update' of https://github.com/adafruit/Adafruit_Learning_System_Guides into feather_sense_update

This commit is contained in:
BlitzCityDIY 2024-01-24 13:26:20 -05:00
commit 4e8fff3afe

View file

@ -66,7 +66,7 @@ void setup(void) {
}
}
// and we need to instantiate the LSM6DS3TRC
if (new_rev == true) {
if (new_rev) {
lsm6ds3trc.begin_I2C();
}
sht30.begin();
@ -93,7 +93,7 @@ void loop(void) {
sensors_event_t accel;
sensors_event_t gyro;
sensors_event_t temp;
if (new_rev == true) {
if (new_rev) {
lsm6ds3trc.getEvent(&accel, &gyro, &temp);
}
else {