Diff: AmmoPusher.h
- Revision:
- 1:42d2772575c5
- Parent:
- 0:fac139a6b77c
- Child:
- 2:5ec2a3097d4c
diff -r fac139a6b77c -r 42d2772575c5 AmmoPusher.h --- a/AmmoPusher.h Wed Aug 19 06:24:33 2015 +0000 +++ b/AmmoPusher.h Fri Aug 21 04:52:43 2015 +0000 @@ -8,6 +8,7 @@ public: AmmoPusher( I2CMotor* drawerMotor ); + void update(); void draw(); void push(); @@ -15,6 +16,7 @@ bool hasPusherFinishedPushing(); private: + static const float mDuty; static const PinName mDrawingLimitSwitchPinName; static const PinName mPushingLimitSwitchPinName;