ports/esp32/apps/matter-lock/main/lock_led.h
asxeem/openaliro
Module
lock_led.h
Lock status LED color mapping: derives the RGB color for the lock indicator from the…
Overview
Lock status LED color mapping: derives the RGB color for the lock indicator from the current locked and Aliro-ranging state.
used by app_driver.cpp lock_led.c
API
Cstruct lock_led_rgb
ports/esp32/apps/matter-lock/main/lock_led.h:25
A colour for the single indicator pixel. All-zero means dark.
##define LOCK_LED_BRIGHTNESS 32
ports/esp32/apps/matter-lock/main/lock_led.h:22
Fstruct lock_led_rgb lock_led_color(bool locked, bool aliro)
ports/esp32/apps/matter-lock/main/lock_led.h:36