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

@@ -0,0 +1,25 @@
; ***************************************************************************
; copyright : (C) 2025 by Martin Preuss
; email : martin@libchipcard.de
;
; ***************************************************************************
; * This file is part of the project "AqHome". *
; * Please see toplevel file COPYING of that project for license details. *
; ***************************************************************************
.cseg
; ---------------------------------------------------------------------------
; @routine SGP40_SendTVOC
SGP40_SendTVOC:
rcall SGP40_GetValue
brcc SGP40_SendTVOC_end
ldi r17, VALUE_ID_TVOC ; VALUE ID
ldi r22, AQHOME_VALUETYPE_TVOC ; VALUE TYPE
rcall Main_SendValueReport
SGP40_SendTVOC_end:
ret
; @end