PWM: Use getRaw and setRaw for Sendable "Value" property. (#963)

Also change type to "PWM".  Move old PWM Sendable behavior for both value
and type to PWMSpeedController.
This commit is contained in:
Peter Johnson
2018-03-03 21:36:25 -08:00
committed by GitHub
parent 9d7293734a
commit 5175829bab
5 changed files with 24 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ class PWMSpeedController : public SafePWM, public SpeedController {
protected:
explicit PWMSpeedController(int channel);
void InitSendable(SendableBuilder& builder) override;
private:
bool m_isInverted = false;