Skip to content

Commit

Permalink
Issue #113. Light bulb state was off in the library. Handling it now …
Browse files Browse the repository at this point in the history
…from the client code
  • Loading branch information
xoseperez committed Mar 27, 2017
1 parent 6df5470 commit 45f63d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/espurna/light.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 45f63d2

Please sign in to comment.