Skip to content

Commit 3cd596b

Browse files
committed
Adding definition for LSM6DS3TR-C
Adding import for LSM6DS3TR-C to use with LSM6DS3TR-C + LIS3MDL 9-DoF
1 parent c716b1c commit 3cd596b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/lis3mdl_lsm6ds_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# and uncomment the next line
1414
# from adafruit_lsm6ds.lsm330dhcx import ISM330DHCX as LSM6DS
1515

16+
# To use LSM6DS3TR-C, comment out the LSM6DSOX import line
17+
# and uncomment the next line
18+
# from adafruit_lsm6ds.lsm6ds3 import LSM6DS3 as LSM6DS
19+
1620
from adafruit_lis3mdl import LIS3MDL
1721

1822
i2c = board.I2C() # uses board.SCL and board.SDA

0 commit comments

Comments
 (0)