2017ロボコンはやとブーメランプログラム

Dependencies:   PID QEI ikarashiMDC recieveController omni

Spiral.h

Committer:
WAT34
Date:
2017-09-01
Revision:
6:0bee4b2bb400
Parent:
3:01947ec86f09
Child:
17:311aed3cad15

File content as of revision 6:0bee4b2bb400:

#ifndef  SPIRAL_H
#define SPIRAL_H

#include "mbed.h"
#include "ikarashiMDC.h"

class Spiral
{
public:
  Spiral(ikarashiMDC* spiralMotor_);
  int rotate();

private:
  InterruptIn *spiralLimit;
  ikarashiMDC *spiralMotor;
  bool rotating;
  void stopRotation();
};

#endif /* end of include guard: SPIRAL_H */