Added basic acceleration and filtering for the encoder, but it still needs finetuning
This commit is contained in:
@ -134,6 +134,7 @@ int CV1Input = 0;
|
||||
int CV2Input = 0;
|
||||
|
||||
int encPositionOld = 0;
|
||||
int encDirectionOld = 0;
|
||||
unsigned long encPressedTime;
|
||||
unsigned long encReleasedTime;
|
||||
unsigned long playPressedTime;
|
||||
|
||||
Reference in New Issue
Block a user