Makes the CANJaguar error status messages more useful (#165)

The previous version would just return the class name for the
DigitalOutput port. Now it actually gets the dio port value for better
readability.
This commit is contained in:
Thad House
2016-07-12 21:53:51 -07:00
committed by Peter Johnson
parent edf5ecd4a0
commit ea1a1e6bc3
4 changed files with 26 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ class DigitalOutput : public DigitalSource,
explicit DigitalOutput(uint32_t channel);
virtual ~DigitalOutput();
void Set(bool value);
bool Get();
uint32_t GetChannel() const override;
void Pulse(float length);
bool IsPulsing() const;