added modules for SGP30/40.
This commit is contained in:
@@ -168,18 +168,8 @@ SI7021_MeasureHumidity_error:
|
||||
; USED:
|
||||
|
||||
si7021CheckPresence:
|
||||
rcall twiStart
|
||||
ldi r16, (SI7021_ADDR*2)+1
|
||||
rcall twiSendByte
|
||||
brcc si7021CheckPresence_notfound
|
||||
rcall twiStop
|
||||
sec
|
||||
ret
|
||||
|
||||
si7021CheckPresence_notfound:
|
||||
rcall twiStop
|
||||
clc
|
||||
ret
|
||||
rjmp twiCheckPresence
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user