2017 hongo b alpha

ShooterAngle.h

Committer:
Komazawa_sun
Date:
2017-09-22
Revision:
0:3e9f5fcfc775

File content as of revision 0:3e9f5fcfc775:

#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