Extended config.sample.h
This commit is contained in:
parent
dcf42bbb0c
commit
540b188058
@ -5,6 +5,7 @@
|
|||||||
#include <FastLED.h>
|
#include <FastLED.h>
|
||||||
|
|
||||||
//#define DEBUG
|
//#define DEBUG
|
||||||
|
//#define CONFIG_USABLE // Uncomment this by removing the // at the beginning!
|
||||||
|
|
||||||
#define WIFI_SSID "..."
|
#define WIFI_SSID "..."
|
||||||
#define WIFI_PASS "..."
|
#define WIFI_PASS "..."
|
||||||
@ -28,6 +29,7 @@
|
|||||||
#define MQTT_PASS "..."
|
#define MQTT_PASS "..."
|
||||||
#define MQTT_TOPIC "pitrix/" // MQTT-Topic to listen to. Must not start with a slash, but must end with one."
|
#define MQTT_TOPIC "pitrix/" // MQTT-Topic to listen to. Must not start with a slash, but must end with one."
|
||||||
#define MQTT_TOPIC_LOG "pitrix/log"
|
#define MQTT_TOPIC_LOG "pitrix/log"
|
||||||
|
#define MQTT_REPORT_METRICS
|
||||||
|
|
||||||
#define HOSTNAME "pitrix-%08X"
|
#define HOSTNAME "pitrix-%08X"
|
||||||
#define OTA_STARTUP_DELAY 10 // How many seconds to wait at startup. Set to 0 to disable.
|
#define OTA_STARTUP_DELAY 10 // How many seconds to wait at startup. Set to 0 to disable.
|
||||||
@ -39,8 +41,6 @@
|
|||||||
#define MONITOR_LOOP_TIME_THRESHOLD 500
|
#define MONITOR_LOOP_TIME_THRESHOLD 500
|
||||||
#define MONITOR_LOOP_TIME_COUNT_MAX 10
|
#define MONITOR_LOOP_TIME_COUNT_MAX 10
|
||||||
|
|
||||||
#define REPORT_METRICS true
|
|
||||||
|
|
||||||
#define EFFECT_CYCLE_TIME 300 // Time in seconds between cycling effects.
|
#define EFFECT_CYCLE_TIME 300 // Time in seconds between cycling effects.
|
||||||
#define EFFECT_CYCLE_RANDOM false
|
#define EFFECT_CYCLE_RANDOM false
|
||||||
|
|
||||||
@ -60,8 +60,10 @@
|
|||||||
#define EFFECT_FIRE_COOLDOWN 192
|
#define EFFECT_FIRE_COOLDOWN 192
|
||||||
#define EFFECT_FIRE_SPARK_CHANCE 5
|
#define EFFECT_FIRE_SPARK_CHANCE 5
|
||||||
|
|
||||||
#define EFFECT_FIREWORK_SHOT_CHANCE 10
|
#define EFFECT_FIREWORK_SHOT_CHANCE 200
|
||||||
#define EFFECT_FIREWORK_BLUR 25
|
#define EFFECT_FIREWORK_BLUR 200
|
||||||
|
#define EFFECT_FIREWORK_FADEOUT_SPEED 5
|
||||||
|
|
||||||
|
|
||||||
// Stop editing here
|
// Stop editing here
|
||||||
|
|
||||||
@ -72,3 +74,7 @@
|
|||||||
#define LOG(x) do {} while(0);
|
#define LOG(x) do {} while(0);
|
||||||
#define LOGln(x) do {} while(0);
|
#define LOGln(x) do {} while(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CONFIG_USABLE
|
||||||
|
#error "CONFIG_USABLE isn't set!"
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user