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 c70097d commit 66200f1Copy full SHA for 66200f1
docs/api.md
@@ -90,6 +90,11 @@ Represents a Modulino Knob module.
90
- **`bool isPressed()`**
91
Returns `true` if the button on the knob is pressed, `false` otherwise.
92
93
+- **`int8_t getDirection()`**
94
+ Returns the direction of the knob rotation.
95
+ - `1` for clockwise
96
+ - `-1` for counter-clockwise
97
+
98
- **`void set(int16_t value)`**
99
Sets the knob value.
100
0 commit comments