From d4c1c1fc9132d6b48bad223050fb775c87b643c8 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Wed, 5 Jun 2019 06:29:47 +0200 Subject: [PATCH] Updated config.sample.h --- include/config.sample.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/config.sample.h b/include/config.sample.h index 1fb5b04..f1d8333 100644 --- a/include/config.sample.h +++ b/include/config.sample.h @@ -1,5 +1,4 @@ -#ifndef my_config_H -#define my_config_H +#pragma once #include #define FASTLED_INTERNAL @@ -43,6 +42,7 @@ #define REPORT_METRICS true #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_MAX 20 @@ -60,6 +60,11 @@ #define EFFECT_FIRE_COOLDOWN 192 #define EFFECT_FIRE_SPARK_CHANCE 5 +#define EFFECT_FIREWORK_SHOT_CHANCE 10 +#define EFFECT_FIREWORK_BLUR 25 + +// Stop editing here + #ifdef DEBUG #define LOG(x) mqtt_log(x); Serial.print(x); #define LOGln(x) mqtt_log_ln(x); Serial.println(x); @@ -67,5 +72,3 @@ #define LOG(x) do {} while(0); #define LOGln(x) do {} while(0); #endif - -#endif