added modules for SGP30/40.

This commit is contained in:
Martin Preuss
2025-05-14 23:18:26 +02:00
parent fee3606a61
commit faa46c7e38
15 changed files with 771 additions and 11 deletions

View File

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