シリアルコントロール消した

Dependents:   kobayashi_rei kobayashi_rei

ikarashiMDC.h

Committer:
WAT34
Date:
2017-08-07
Revision:
0:314f2bed3958
Child:
1:5e8014a1adbd

File content as of revision 0:314f2bed3958:

#ifndef IKARASHIMDC_H
#define IKARASHIMDC_H

#include "mbed.h"

#define SUCCESS 111


class ikarashiMDC{
        
public:
    ikarashiMDC();
    int setMotorSpeed(double speed);
    int setMotorinfo(uint8_t _addr,uint8_t _motorNum,Serial* _serial);
protected:   
    uint8_t addr;
    uint8_t motorNum;
    Serial* serial;
    
};

#endif