Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother authored Jul 12, 2020
1 parent 0e9159f commit 8752a76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ You can initialize as many LEDs as you wish by creating as many instances, they
You can change the state of the LED by call `Wink(STATE)` function of the instance. STATE is the ENUM which includes ON, OFF, FAST, SLOW states.
Calling function doesn't hang main thread or make any delay. Changing state(s) will be full async.

You can get current state by calling `GetState()` function.

### Loop:
To work properly library needs to observe the main loop. Thats why you need to call `Loop()` function of each LedWink instance inside main loop() function of the program (see example below).

Expand Down

0 comments on commit 8752a76

Please sign in to comment.