1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 04:40:04 +01:00

add single conversion mode

This commit is contained in:
Karan Misra 2013-12-09 02:51:15 +05:30
parent dba160911b
commit b42cec847f

View File

@ -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