From b0cecf4e1995d8a1be80c429dd088679d28e9cac Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Tue, 25 Nov 2025 19:27:17 -0500 Subject: [PATCH] use LSM6DS3TRC because that's what the breakout has --- docs/examples.rst | 4 ++-- .../{lis3mdl_lsm6ds_test.py => lis3mdl_lsm6ds3trc_test.py} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename examples/{lis3mdl_lsm6ds_test.py => lis3mdl_lsm6ds3trc_test.py} (95%) diff --git a/docs/examples.rst b/docs/examples.rst index 3ef4bb8..9431892 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -33,8 +33,8 @@ LSM6DS Test Test the LSM6DS device -.. literalinclude:: ../examples/lis3mdl_lsm6ds_test.py - :caption: examples/lis3mdl_lsm6ds_test.py +.. literalinclude:: ../examples/lis3mdl_lsm6ds3trc_test.py + :caption: examples/lis3mdl_lsm6ds3trc_test.py :linenos: Range Test diff --git a/examples/lis3mdl_lsm6ds_test.py b/examples/lis3mdl_lsm6ds3trc_test.py similarity index 95% rename from examples/lis3mdl_lsm6ds_test.py rename to examples/lis3mdl_lsm6ds3trc_test.py index 6e94934..27ca00d 100644 --- a/examples/lis3mdl_lsm6ds_test.py +++ b/examples/lis3mdl_lsm6ds3trc_test.py @@ -14,7 +14,7 @@ # from adafruit_lsm6ds.lsm330dhcx import ISM330DHCX as LSM6DS # To use LSM6DS3TR-C, comment out the LSM6DSOX import line # and uncomment the next line -# from adafruit_lsm6ds.lsm6ds3 import LSM6DS3 as LSM6DS +# from adafruit_lsm6ds.lsm6ds3trc import LSM6DS3TRC as LSM6DS from adafruit_lis3mdl import LIS3MDL i2c = board.I2C() # uses board.SCL and board.SDA