From 5238ca7f3eaf9e7b08d51a0dd103b23b1e8e59bc Mon Sep 17 00:00:00 2001 From: samaphp Date: Sat, 14 Dec 2019 00:46:34 +0300 Subject: [PATCH] Add advanced use section. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6250c43..64f7f12 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,11 @@ $Light->setPowerStatus('on'); // Set light power off. $Light->setPowerStatus('off'); ``` +Advanced use: +```php +// Set a custom value for the connection timeout. +$Light->setTimeout(2); + +// Custom timeout per method. +$Light->setTimeout(1)->setColorByName('white_cool', 10); +``` \ No newline at end of file