diff --git a/README.md b/README.md index 406affb..1871003 100644 --- a/README.md +++ b/README.md @@ -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).