feat:encoder with existing lib #2

Merged
Clement merged 8 commits from feat/encoder into master 2023-10-20 16:32:18 +00:00
Showing only changes of commit 3016a8f2fa - Show all commits

View File

@ -9,24 +9,3 @@ void setup() {
void loop() {
program->loop();
}
// #include <Arduino.h>
// #include <Encoder.h>
// Encoder myEnc(ENCODER_DT, ENCODER_CLK);
// void setup() {
// Serial.begin(MONITOR_SPEED);
// }
// long oldPosition = -999;
// void loop() {
// long newPosition = myEnc.read();
// if (newPosition != oldPosition) {
// oldPosition = newPosition;
// Serial.println(newPosition/4);
// }
// }