sgp30: measure every second, increases accuracy.
This commit is contained in:
@@ -157,10 +157,22 @@ sgp30CheckPresence:
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; @routine SGP30_EverySecond
|
||||
;
|
||||
;
|
||||
; @return CFLAG set if okay, clear on error
|
||||
; @clobbers R16, R17, R18, R19, R20, R21, R22
|
||||
|
||||
SGP30_EverySecond:
|
||||
rjmp SGP30_Measure ; (R16, R17, R18, R19, R20, R21, R22)
|
||||
; @end
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; @routine SGP30_Measure
|
||||
;
|
||||
; Expects interrupts being disabled!
|
||||
;
|
||||
; @return CFLAG set if okay, clear on error
|
||||
; @clobbers R16, R17, R18, R19, R20, R21, R22
|
||||
|
||||
Reference in New Issue
Block a user