-
Notifications
You must be signed in to change notification settings - Fork 20
Commit 3c36732
* feat(buttons): allow isPressed() to accept 'A', 'B', 'C' as input
Added support for character and string-based input to `isPressed()` in `ModulinoButtons`,
so it now accepts both index (0–2) and letter identifiers (`'A'`, `'B'`, `'C'`) matching
the physical button labeling.
Closes #3
* Update example to document support for both numeric and letter indices ♻️
* Add getDirection() support to ModulinoKnob and example ⚡
* Fix: 🔥
* Fix: restore files 🔥
* Minor fixes ♻️
* Update API docs ♻️
* Update API docs ♻️
* Update examples/Modulino_Knob/Knob_Basic/Knob_Basic.ino
---------
Co-authored-by: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com>
1 parent fd69d03 commit 3c36732
File tree
3 files changed
+39
-2
lines changed- docs
- examples/Modulino_Knob/Knob_Basic
- src
3 files changed
+39
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
98 | + | ||
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | + | ||
28 | + | ||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | - | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | - | ||
247 | 246 | | |
247 | + | ||
248 | + | ||
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
281 | + | ||
282 | + | ||
283 | + | ||
284 | + | ||
285 | + | ||
286 | + | ||
287 | + | ||
288 | + | ||
289 | + | ||
290 | + | ||
291 | + | ||
292 | + | ||
293 | + | ||
294 | + | ||
295 | + | ||
296 | + | ||
297 | + | ||
298 | + | ||
280 | 299 | | |
281 | 300 | | |
282 | 301 | | |
| |||
288 | 307 | | |
289 | 308 | | |
290 | 309 | | |
310 | + | ||
311 | + | ||
312 | + | ||
291 | 313 | | |
292 | 314 | | |
293 | 315 | | |
| |||
0 commit comments