2020-02-19 15:53:42 +01:00
|
|
|
#ifndef wled_const_h
|
|
|
|
#define wled_const_h
|
|
|
|
|
|
|
|
//Access point behavior
|
|
|
|
#define AP_BEHAVIOR_BOOT_NO_CONN 0 //Open AP when no connection after boot
|
2020-02-20 00:45:09 +01:00
|
|
|
#define AP_BEHAVIOR_NO_CONN 1 //Open when no connection (either after boot or if connection is lost)
|
2020-02-19 15:53:42 +01:00
|
|
|
#define AP_BEHAVIOR_ALWAYS 2 //Always open
|
|
|
|
#define AP_BEHAVIOR_BUTTON_ONLY 3 //Only when button pressed for 6 sec
|
|
|
|
|
2020-02-20 00:45:09 +01:00
|
|
|
//RGB to RGBW conversion mode
|
|
|
|
#define RGBW_MODE_MANUAL_ONLY 0 //No automatic white channel calculation. Manual white channel slider
|
|
|
|
#define RGBW_MODE_AUTO_BRIGHTER 1 //New algorithm. Adds as much white as the darkest RGBW channel
|
|
|
|
#define RGBW_MODE_AUTO_ACCURATE 2 //New algorithm. Adds as much white as the darkest RGBW channel and subtracts this amount from each RGB channel
|
|
|
|
#define RGBW_MODE_DUAL 3 //Manual slider + auto calculation. Automatically calculates only if manual slider is set to off (0)
|
|
|
|
#define RGBW_MODE_LEGACY 4 //Old floating algorithm. Too slow for realtime and palette support
|
|
|
|
|
2020-02-19 15:53:42 +01:00
|
|
|
//realtime modes
|
|
|
|
#define REALTIME_MODE_INACTIVE 0
|
|
|
|
#define REALTIME_MODE_GENERIC 1
|
|
|
|
#define REALTIME_MODE_UDP 2
|
|
|
|
#define REALTIME_MODE_HYPERION 3
|
|
|
|
#define REALTIME_MODE_E131 4
|
|
|
|
#define REALTIME_MODE_ADALIGHT 5
|
|
|
|
|
|
|
|
//E1.31 DMX modes
|
|
|
|
#define DMX_MODE_DISABLED 0 //not used
|
|
|
|
#define DMX_MODE_SINGLE_RGB 1 //all LEDs same RGB color (3 channels)
|
|
|
|
#define DMX_MODE_SINGLE_DRGB 2 //all LEDs same RGB color and master dimmer (4 channels)
|
|
|
|
#define DMX_MODE_EFFECT 3 //trigger standalone effects of WLED (11 channels)
|
|
|
|
#define DMX_MODE_MULTIPLE_RGB 4 //every LED is addressed with its own RGB (ledCount * 3 channels)
|
|
|
|
#define DMX_MODE_MULTIPLE_DRGB 5 //every LED is addressed with its own RGB and share a master dimmer (ledCount * 3 + 1 channels)
|
|
|
|
|
|
|
|
#endif
|