avr/apps: added ma_light (was previously a module).

This commit is contained in:
Martin Preuss
2025-05-04 03:30:55 +02:00
parent e20b1c52d3
commit b632a10fff
6 changed files with 410 additions and 0 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. *
; ***************************************************************************
; ***************************************************************************
; defines
.equ APP_MOTIONLIGHT_DEFAULT_ONTIME = 3000 ; 5min (in 1/10 secs)
.equ APP_MOTIONLIGHT_SOURCE_NUM = 2
.equ APP_MOTIONLIGHT_SOURCE_OFFS_ADDR = 0
.equ APP_MOTIONLIGHT_SOURCE_OFFS_VALUEID = 1
.equ APP_MOTIONLIGHT_SOURCE_SIZE = 2