Skip to content

Commit 06e7a30

Browse files
committed
fixing magnetometer for issue #1
1 parent 71a931c commit 06e7a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lis3mdl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
_LIS3MDL_INT_CFG = const(0x30) # Interrupt configuration register
7373
_LIS3MDL_INT_THS_L = const(0x32) # Low byte of the irq threshold
7474

75-
_GAUSS_TO_MT = 0.1 #1 Gauss [G] = 0.1 Millitesla [mT]
75+
_GAUSS_TO_MT = 100
7676

7777
class CV:
7878
"""struct helper"""

0 commit comments

Comments
 (0)