mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This provides a way to stop motor operation even if the DIO is disconnected. Also change Set() to enable the PWM instead of having the constructor do it. Provide an explicit Enable() call to re-enable after Disable() is called. This is different from the other motor controllers (which automatically re-enable when Set() is called) due to the dual-wiring of this motor controller. Motor safety results in disabling the motor only until the next Set() call.