2017 hongo b alpha
ShooterAngle.h
- Committer:
- Komazawa_sun
- Date:
- 2017-09-25
- Revision:
- 1:402a36cb88ce
- Parent:
- 0:3e9f5fcfc775
File content as of revision 1:402a36cb88ce:
#ifndef SHOOTER_ANGLE_H #define SHOOTER_ANGLE_H #include "Alpha_ApprI2C_ID.h" #include "ApprI2CMaster.h" class ShooterAngle { public: ShooterAngle(I2C *master, const unsigned int angle_max_ = 240, const unsigned int angle_min_ = 0); void setAngle(unsigned int angle); private: ApprI2CMaster to_slave; unsigned int _angle_max; unsigned int _angle_min; }; #endif