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