This commit is contained in:
e2002
2022-07-07 12:52:47 +03:00
parent 1a857cb6fd
commit 36c24ecdb5
12 changed files with 24 additions and 10 deletions

View File

@@ -34,7 +34,8 @@ private:
uint8_t encoderBPin;
long encoderSteps;
long _minEncoderValue = -1 << 15;
//long _minEncoderValue = -1 << 15;
long _minEncoderValue = -32768;
long _maxEncoderValue = 1 << 15;
uint8_t old_AB;