2017ロボコンはやとブーメランプログラム
Dependencies: PID QEI ikarashiMDC recieveController omni
Spiral.h
- Committer:
- WAT34
- Date:
- 2017-11-13
- Revision:
- 21:aad4a4adc18c
- Parent:
- 18:4b629221c215
File content as of revision 21:aad4a4adc18c:
#ifndef SPIRAL_H #define SPIRAL_H #include "mbed.h" #include "ikarashiMDC.h" class Spiral { public: Spiral(ikarashiMDC *spiralMotor_); void beltStart(); bool firing; float beltSpeed,spiralSpeed; InterruptIn *spiralLimit; private: ikarashiMDC *spiralMotor; bool rotating; void stopRotation(); void beltStop(); int rotate(); Timeout beltTime; }; #endif /* end of include guard: SPIRAL_H */