Merge branch 'feather_sense_update' of https://github.com/adafruit/Adafruit_Learning_System_Guides into feather_sense_update
This commit is contained in:
commit
4e8fff3afe
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue