Skip to content

Commit 3835629

Browse files
committed
Add ISM330DHCX to example.
1 parent 8545a49 commit 3835629

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/lis3mdl_lsm6ds_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
import board
33
from adafruit_lsm6ds import LSM6DSOX as LSM6DS
44

5-
# To use LSM6DS33, comment out the previous line
5+
# To use LSM6DS33, comment out the LSM6DSOX import line
66
# and uncomment the next line
77
# from adafruit_lsm6ds import LSM6DS33 as LSM6DS
8+
# To use ISM330DHCX, comment out the LSM6DSOX import line
9+
# and uncomment the next line
10+
# from adafruit_lsm6ds import ISM330DHCX as LSM6DS
11+
812
from adafruit_lis3mdl import LIS3MDL
913

1014
accel_gyro = LSM6DS(board.I2C())

0 commit comments

Comments
 (0)