centralized LED Control and ModeSwitching in Lubeapp.cpp
This commit is contained in:
@@ -37,9 +37,10 @@
|
||||
#define LED_STARTUP_TANKWARN COLOR_AMBER
|
||||
#define LED_NORMAL_COLOR COLOR_GREEN
|
||||
#define LED_RAIN_COLOR COLOR_BLUE
|
||||
#define LED_WIFI_BLINK COLOR_YELLOW
|
||||
#define LED_WASH_COLOR COLOR_JADE
|
||||
#define LED_WIFI_COLOR COLOR_YELLOW
|
||||
#define LED_PURGE_COLOR COLOR_MAGENTA
|
||||
#define LED_ERROR_BLINK COLOR_RED
|
||||
#define LED_SHUTDOWN_BLINK COLOR_CYAN
|
||||
#define LED_ERROR_COLOR COLOR_RED
|
||||
#define LED_SHUTDOWN_COLOR COLOR_CYAN
|
||||
|
||||
#endif /* _LED_COLORS_H_ */
|
||||
|
@@ -3,6 +3,7 @@
|
||||
#define _LEDCONTROL_H_
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "led_colors.h"
|
||||
|
||||
// LED-Muster
|
||||
enum LedPattern
|
||||
@@ -12,7 +13,8 @@ enum LedPattern
|
||||
LED_PATTERN_FLASH_FAST,
|
||||
LED_PATTERN_BLINK,
|
||||
LED_PATTERN_BLINK_FAST,
|
||||
LED_PATTERN_BREATH
|
||||
LED_PATTERN_BREATH,
|
||||
LED_PATTERN_BREATH_REVERSE
|
||||
};
|
||||
|
||||
// Initialisiert die LED-Steuerung
|
||||
|
Reference in New Issue
Block a user