From 9f5630ab453cd0d8e9847994fecc3756284c26cf Mon Sep 17 00:00:00 2001 From: Harold De Armas Date: Fri, 20 Sep 2024 10:09:17 -0700 Subject: [PATCH] Update README.rst Nit: The example won't work without the parens. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 1d67314..93989c1 100644 --- a/README.rst +++ b/README.rst @@ -99,7 +99,7 @@ There are two classes: .. code-block:: python button = async_button.SimpleButton(board.D5, True) - await button.pressed + await button.pressed() * ``Button``: This has much more features. It creates a background process to monitor the button and allows the user to ``await`` for single clicks, double clicks, long clicks etc. It must be instantiated