Just some if statements is all you need, really. Measure the force, then do with it what you want.
void loop() {
force = readForce();
if (force > 6000) stopMotor();
else runMotor();
}
Just some if statements is all you need, really. Measure the force, then do with it what you want.
void loop() {
force = readForce();
if (force > 6000) stopMotor();
else runMotor();
}