import
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// LED
|
||||
#define LED_NUM 300
|
||||
#define LED_PIN 5 // = D1
|
||||
#define LED_CHIPSET WS2812B
|
||||
#define LED_COLOR_ORDER GRB
|
||||
#define LED_BRIGHTNESS_DEFAULT 96
|
||||
#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
|
||||
|
||||
// WIFI
|
||||
#define WIFI_SSID "XXX"
|
||||
#define WIFI_PASSWORD "XXX"
|
||||
|
||||
// MQTT
|
||||
#define MQTT_SERVER "XXX"
|
||||
#define MQTT_PORT 1883
|
||||
#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"
|
||||
|
||||
// FastLED
|
||||
// TODO : essayer, devrait limiter le flikering
|
||||
//#define FASTLED_ALLOW_INTERRUPTS 0
|
||||
#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
|
||||
Reference in New Issue
Block a user