Revision 64aea12e
Added ENABLE output for stepper
This will hopefully solve the problem of the stepper heating excessively
and constantly using current.
scout_avr/src/main.cpp | ||
---|---|---|
29 | 29 |
sonar::sonar_toggleResponse& resp) |
30 | 30 |
{ |
31 | 31 |
range_enabled = req.set_on; |
32 |
if (range_enabled) |
|
33 |
step_enable(); |
|
34 |
else |
|
35 |
step_disable(); |
|
32 | 36 |
resp.ack = true; |
33 | 37 |
} |
34 | 38 |
|
Also available in: Unified diff