Browse Source

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

fastled
Xose Pérez 7 years ago
parent
commit
45f63d2b2d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/light.ino

+ 1
- 0
code/espurna/light.ino View File

@ -184,6 +184,7 @@ void lightSetup() {
#if LIGHT_PROVIDER == LIGHT_PROVIDER_MY9192 #if LIGHT_PROVIDER == LIGHT_PROVIDER_MY9192
_my9291 = new my9291(MY9291_DI_PIN, MY9291_DCKI_PIN, MY9291_COMMAND); _my9291 = new my9291(MY9291_DI_PIN, MY9291_DCKI_PIN, MY9291_COMMAND);
_my9291->setState(true); // We are handling state from the client code
#endif #endif
#if (LIGHT_PROVIDER == LIGHT_PROVIDER_RGB) || (LIGHT_PROVIDER == LIGHT_PROVIDER_RGBW) #if (LIGHT_PROVIDER == LIGHT_PROVIDER_RGB) || (LIGHT_PROVIDER == LIGHT_PROVIDER_RGBW)


Loading…
Cancel
Save