refactor function to set led

This commit is contained in:
2016-04-27 21:33:58 +02:00
parent 99dd1918fc
commit 17d862049e
2 changed files with 13 additions and 18 deletions

View File

@@ -27,6 +27,7 @@ class DeviceLed : public Device {
unsigned long fade_start = 0;
unsigned long fade_end = 0;
float progress_last = 0;
void setLed(int red, int green, int blue);
bool ledOnHandler(String value);
bool ledColorHandler(String message);
bool ledFadeHandler(String message);