Skip to content

Commit fad0c13

Browse files
authored
Update MemsMotorControl_IKS01A2_IHM02A1.ino
Update sensor APIs
1 parent 8008181 commit fad0c13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/MemsMotorControl_IKS01A2_IHM02A1/MemsMotorControl_IKS01A2_IHM02A1.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ void setup() {
159159

160160
/* Initializing Accelerometer-Gyroscope component. */
161161
acc_gyr = new LSM6DSLSensor(&DEV_I2C);
162+
acc_gyr->begin();
162163
acc_gyr->Enable_X();
163164

164165
/* Initializing SPI bus. */

0 commit comments

Comments
 (0)