Issue #113. Light bulb state was off in the library. Handling it now from the client code

This commit is contained in:
Xose Pérez
2017-03-27 23:07:43 +02:00
parent 6df54700f5
commit 45f63d2b2d

View File

@@ -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)