You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,14 @@ Click on **Download ZIP** to download the library, place the unzipped folder int
24
24
25
25
## Change LOG
26
26
27
+
### v2.0.3 (10th March, 2022)
28
+
29
+
- Added ```readInProvidedSteps()``` to **MyButton**, to achieve similar behavior to the ```readMultiple()``` but continiously getting the reached step, not only on the falling edge.
30
+
31
+
### v2.0.2 (9th March, 2022)
32
+
33
+
- Added ```readRawClick()``` to **MyButton**, to get the non-debounced raw state (click) of the button.
34
+
27
35
### v2.0.1 (26th January, 2022)
28
36
29
37
- Created **MyCountingButton** library, didn't test it thoroughly though, just made sure that all functionalities work as intended.
Copy file name to clipboardExpand all lines: docs/pages/MyButton.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,10 @@ The ``NORMAL_UP``, and ``NORMAL_DOWN`` keywords refer to whether the push button
54
54
55
55
+ This function takes in a ``period`` in **milliseconds** and a ``number of steps``, and on each step of that period ``step == period/num_steps``, returns the ``index`` of the step, **0 INDEXED**, else returns NON_CLICKED (==255).
+ This function takes in an **incrementally sorted list of ``periods`` in milliseconds**, and reports the ``index`` of the reached period in the list, else it returns NON_CLICKED (==255). **ZERO-INDEXED**
+ This function takes in an **incrementally sorted list of ``periods`` in milliseconds**, and if the button have been pressed for more than one of the periods (CHECKED ON RELEASE), it'd return the ``index`` of the period in the list, else it returns NON_CLICKED (==255). **ZERO-INDEXED**
0 commit comments