Skip to content

Commit

Permalink
Fixes updated enum states names
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother authored Jul 16, 2020
1 parent d2cef92 commit 7f0f70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You need to pass LED GPIO number as a paramater for constructor (see example bel
You can initialize as many LEDs as you wish by creating as many instances, they all will work async.

### States:
You can change the state of the LED by call `Wink(STATE)` method of the instance. STATE is the ENUM which includes ON, OFF, FAST, SLOW states.
You can change the state of the LED by call `Wink(STATE)` method of the instance. STATE is the ENUM which includes `LED_ON, LED_OFF, LED_FAST, LED_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()` method.
Expand Down

0 comments on commit 7f0f70d

Please sign in to comment.