Updated config.sample.h

This commit is contained in:
Fabian Schlenz 2019-06-05 06:29:47 +02:00
parent 59a987f7e6
commit d4c1c1fc91

View File

@ -1,5 +1,4 @@
#ifndef my_config_H #pragma once
#define my_config_H
#include <Arduino.h> #include <Arduino.h>
#define FASTLED_INTERNAL #define FASTLED_INTERNAL
@ -43,6 +42,7 @@
#define REPORT_METRICS true #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_MATRIX_LENGTH_MIN 4 #define EFFECT_MATRIX_LENGTH_MIN 4
#define EFFECT_MATRIX_LENGTH_MAX 20 #define EFFECT_MATRIX_LENGTH_MAX 20
@ -60,6 +60,11 @@
#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_BLUR 25
// Stop editing here
#ifdef DEBUG #ifdef DEBUG
#define LOG(x) mqtt_log(x); Serial.print(x); #define LOG(x) mqtt_log(x); Serial.print(x);
#define LOGln(x) mqtt_log_ln(x); Serial.println(x); #define LOGln(x) mqtt_log_ln(x); Serial.println(x);
@ -67,5 +72,3 @@
#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
#endif