on remets à jour l'exemple
This commit is contained in:
parent
1b920d7cd1
commit
82104f19a6
@ -9,10 +9,9 @@
|
||||
#define LED_SPEED_DEFAULT 120
|
||||
#define LED_COLOR_DEFAULT CRGB::Red
|
||||
|
||||
#define LED_EFFECT_OFF 1
|
||||
#define LED_EFFECT_CYLON 2
|
||||
#define LED_EFFECT_FULLRED 3
|
||||
#define LED_EFFECT_ERROR 4
|
||||
#define LED_EFFECT_CYLON "cylon"
|
||||
#define LED_EFFECT_FULLRED "full"
|
||||
#define LED_EFFECT_ERROR "error"
|
||||
|
||||
// WIFI
|
||||
#define WIFI_SSID "XXX"
|
||||
@ -24,10 +23,16 @@
|
||||
#define MQTT_USER "XXX"
|
||||
#define MQTT_PASS "XXX"
|
||||
|
||||
#define MQTT_LED_EFFECT "strip1/seteffect"
|
||||
#define MQTT_LED_BRIGHTNESS "strip1/setbrightness"
|
||||
#define MQTT_LED_SPEED "strip1/setspeed"
|
||||
#define MQTT_LED_COLOR "strip1/setcolor"
|
||||
#define MQTT_LED_STATE "strip1/switch"
|
||||
#define MQTT_LED_COMMAND "strip1/status"
|
||||
#define MQTT_LED_EFFECT_COMMAND "strip1/effect/switch"
|
||||
#define MQTT_LED_EFFECT_STATE "strip1/effect/status"
|
||||
#define MQTT_LED_BRIGHTNESS_COMMAND "strip1/brightness/switch"
|
||||
#define MQTT_LED_BRIGHTNESS_STATE "strip1/brightness/status"
|
||||
#define MQTT_LED_SPEED_COMMAND "strip1/speed/switch"
|
||||
#define MQTT_LED_SPEED_STATE "strip1/speed/status"
|
||||
#define MQTT_LED_COLOR_COMMAND "strip1/color/switch"
|
||||
#define MQTT_LED_COLOR_STATE "strip1/color/status"
|
||||
|
||||
// FastLED
|
||||
// TODO : essayer, devrait limiter le flikering
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user