YMotorDriverShooter.h
- Committer:
- inst
- Date:
- 2015-08-23
- Revision:
- 0:9b3bf538a693
- Child:
- 1:b6face630ed3
File content as of revision 0:9b3bf538a693:
#ifndef INCLUDED_YMOTOR_DRIVER_SHOOTER_H #define INCLUDED_YMOTOR_DRIVER_SHOOTER_H #include "YMotorDriverBase.h" class YMotorDriverShooter : public YMotorDriverBase{ public: enum ShooterActionType{ STOP = 0, WORKING_8V = 4, WORKING_12V = 5, WORKING_16V = 6 }; YMotorDriverShooter( char address ); virtual void update(); private: void write(); static const PinName mRelayDriveDoutPinName[]; DigitalOut** mRelayDriveDout; ShooterActionType mActionType; }; #endif