Skip to content

Commit 623c782

Browse files
authored
Merge pull request #986 from adafruit/siddacious-patch-1
Update lsm303agr_combined.py
2 parents 90c4da8 + 20dbbd2 commit 623c782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LSM303/lsm303agr_combined.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import board
33
import busio
44
import adafruit_lsm303_accel
5-
import adafruit_lsm303agr_mag
5+
import adafruit_lis2mdl
66

77
i2c = busio.I2C(board.SCL, board.SDA)
8-
mag = adafruit_lsm303agr_mag.LSM303AGR_Mag(i2c)
8+
mag = adafruit_lis2mdl.LIS2MDL(i2c)
99
accel = adafruit_lsm303_accel.LSM303_Accel(i2c)
1010

1111
while True:

0 commit comments

Comments
 (0)