We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59aef64 commit b8a67c7Copy full SHA for b8a67c7
docs/api.md
@@ -33,6 +33,12 @@ Represents a Modulino Buttons module.
33
- **`PinStatus isPressed(int index)`**
34
Returns the press status (HIGH/LOW) of the button at the specified index (_0-A, 1-B, 2-C_).
35
36
+- **`PinStatus isPressed(char button)`**
37
+ Returns the press status (HIGH/LOW) of the button specified by its character ('A', 'B', 'C').
38
+
39
+- **`PinStatus isPressed(const char *button)`**
40
+ Returns the press status (HIGH/LOW) of the button specified by its string ("A", "B", "C").
41
42
- **`bool update()`**
43
Updates the button status. Returns `true` if the status has changed, `false` otherwise.
44
0 commit comments