Skip to content

Commit d8f3c0a

Browse files
authored
Merge pull request #53 from infamy/main
Add a short delay for the imu to start up
2 parents b1c28e8 + 33c85a4 commit d8f3c0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/lsm6ds_lsm6ds3trc_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
imupwr = digitalio.DigitalInOut(board.IMU_PWR)
1313
imupwr.direction = digitalio.Direction.OUTPUT
1414
imupwr.value = True
15+
time.sleep(0.1)
1516

1617
imu_i2c = busio.I2C(board.IMU_SCL, board.IMU_SDA)
1718
sensor = LSM6DS3TRC(imu_i2c)

0 commit comments

Comments
 (0)