From 69c9ed97266f4b1e4c60c292c61e3f4e9c59b70b Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Tue, 26 Nov 2019 13:29:50 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c841371..d6d845c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Requires CEC capable device (e.g. Raspberry Pi or USB-CEC adapter).
Additionally `cec-client` must be installed. On Raspbian it is included in cec-utils package. -Controller scans devices on startup. It takes a while (scan is done async and result is returned in "ready" event). +Controller scans devices on startup (when creating new controller object). It takes a while (scan is done async and result is returned in "ready" event). Therefore it is recommended to initialise the controller only once and use the obtained object throughout the code. ### Usage Examples ```javascript