mirror of
https://github.com/kidoman/embd
synced 2025-01-03 02:21:36 +01:00
add single conversion mode
This commit is contained in:
parent
dba160911b
commit
b42cec847f
@ -31,6 +31,7 @@ const (
|
|||||||
magModeReg = 0x02
|
magModeReg = 0x02
|
||||||
|
|
||||||
MagContinuous = 0x00 // Continuous conversion mode
|
MagContinuous = 0x00 // Continuous conversion mode
|
||||||
|
MagSingle = 0x01 // Single conversion mode
|
||||||
MagSleep = 0x03 // Sleep mode
|
MagSleep = 0x03 // Sleep mode
|
||||||
|
|
||||||
MagMRDefault = MagContinuous // Continuous conversion is the default
|
MagMRDefault = MagContinuous // Continuous conversion is the default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user