We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c4da8 commit 20dbbd2Copy full SHA for 20dbbd2
LSM303/lsm303agr_combined.py
@@ -2,10 +2,10 @@
2
import board
3
import busio
4
import adafruit_lsm303_accel
5
-import adafruit_lsm303agr_mag
+import adafruit_lis2mdl
6
7
i2c = busio.I2C(board.SCL, board.SDA)
8
-mag = adafruit_lsm303agr_mag.LSM303AGR_Mag(i2c)
+mag = adafruit_lis2mdl.LIS2MDL(i2c)
9
accel = adafruit_lsm303_accel.LSM303_Accel(i2c)
10
11
while True:
0 commit comments