Browse Source

light: update XIAOMI_SMART_DESK_LAMP mired values

master
Max Prokhorov 5 years ago
parent
commit
5a2314e17a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      code/espurna/config/hardware.h

+ 4
- 0
code/espurna/config/hardware.h View File

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


Loading…
Cancel
Save