From 5a2314e17ae751478fdea71c733765e2f463368d Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Tue, 15 Oct 2019 19:14:59 +0300 Subject: [PATCH] light: update XIAOMI_SMART_DESK_LAMP mired values --- code/espurna/config/hardware.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 1082ab62..9a26c204 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -3374,6 +3374,10 @@ #define LIGHT_CH2_PIN 4 // cold white #define LIGHT_CH2_INVERSE 0 + // https://www.xiaomitoday.com/xiaomi-mijia-mjtd01yl-led-desk-lamp-review/ + #define LIGHT_COLDWHITE_MIRED 153 + #define LIGHT_WARMWHITE_MIRED 370 + // Encoder // If mode is ENCODER_MODE_RATIO, the value ratio between both channels is changed // when the button is not pressed, and the overall brightness when pressed