#[repr(u8)]pub enum NightLightMode {
NL_MODE_SET = 0,
NL_MODE_FADE = 1,
NL_MODE_COLORFADE = 2,
NL_MODE_SUN = 3,
RSVD1 = 4,
RSVD2 = 5,
RSVD3 = 6,
RSVD4 = 7,
RSVD5 = 8,
RSVD6 = 9,
}
Expand description
Modes for night light
Variants§
NL_MODE_SET = 0
After nightlight time elapsed, set to target brightness
NL_MODE_FADE = 1
Fade to target brightness gradually
NL_MODE_COLORFADE = 2
Fade to target brightness and secondary color gradually
NL_MODE_SUN = 3
Sunrise/sunset. Target brightness is set immediately, then Sunrise effect is started. Max 60 min.
RSVD1 = 4
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more Night Light modes
RSVD2 = 5
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more Night Light modes
RSVD3 = 6
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more Night Light modes
RSVD4 = 7
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more Night Light modes
RSVD5 = 8
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more Night Light modes
RSVD6 = 9
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more Night Light modes
Trait Implementations§
Source§impl Clone for NightLightMode
impl Clone for NightLightMode
Source§fn clone(&self) -> NightLightMode
fn clone(&self) -> NightLightMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more