diff --git a/core.hpp b/core.hpp index 0a79015..6baecab 100644 --- a/core.hpp +++ b/core.hpp @@ -490,7 +490,7 @@ class Encoder { { encoderValue = 0; } - void encode(uint gpio) + void update(uint gpio) { if ((gpio == upper_pin) || (gpio == lower_pin)) { int MSB = digitalRead(upper_pin);