We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e8a799 commit 2c6d637Copy full SHA for 2c6d637
main.c
@@ -343,6 +343,8 @@ void parse(int positions) {
343
aware=0;
344
if (calibrated) SEND(close); //force a renewed awareness
345
} else {
346
+ if (buff[6]< 3) buff[6]= 0; //the motor retracts a bit when arriving at the goal
347
+ if (buff[6]>97) buff[6]=100; //so it (almost) never arrives at exactly 0% or 100%
348
current.value.int_value=buff[6];
349
aware=1;
350
}
0 commit comments