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 be72a4f commit b94789fCopy full SHA for b94789f
examples/Modulino_PlugNPlay/Modulino_PlugNPlay.ino
@@ -36,7 +36,7 @@ void loop() {
36
float y;
37
float z;
38
39
- if (encoder.pressed()) {
+ if (encoder.isPressed()) {
40
skip = (skip + 1) % 5;
41
}
42
src/Modulino.h
@@ -238,7 +238,7 @@ class ModulinoKnob : public Module {
238
memcpy(buf, &value, 2);
239
write(buf, 4);
240
241
- bool pressed() {
+ bool isPressed() {
242
get();
243
return _pressed;
244
0 commit comments