From 45f63d2b2d83cd31f99b8dc71bee06803394cde5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 27 Mar 2017 23:07:43 +0200 Subject: [PATCH] Issue #113. Light bulb state was off in the library. Handling it now from the client code --- code/espurna/light.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/light.ino b/code/espurna/light.ino index 9950362c..f72a7c41 100644 --- a/code/espurna/light.ino +++ b/code/espurna/light.ino @@ -184,6 +184,7 @@ void lightSetup() { #if LIGHT_PROVIDER == LIGHT_PROVIDER_MY9192 _my9291 = new my9291(MY9291_DI_PIN, MY9291_DCKI_PIN, MY9291_COMMAND); + _my9291->setState(true); // We are handling state from the client code #endif #if (LIGHT_PROVIDER == LIGHT_PROVIDER_RGB) || (LIGHT_PROVIDER == LIGHT_PROVIDER_RGBW)