ikarashiMDCの2byteバージョン

Dependents:   NHK2019_mae_v6 NHK2019_main_v6 NHK2019_usiro_v6 2019BSyudo ... more

ikarashiMDC.h

Committer:
WAT34
Date:
2017-08-10
Revision:
1:5e8014a1adbd
Parent:
0:314f2bed3958
Child:
2:75153205d6e8

File content as of revision 1:5e8014a1adbd:

#ifndef IKARASHIMDC_H
#define IKARASHIMDC_H

#include "mbed.h"


class ikarashiMDC
{
        
public:
    ikarashiMDC();
    int setMotorSpeed(double speed);
    int setMotorinfo(uint8_t _addr,uint8_t _motorNum,Serial* _serial);
    void stop();
    int checkcomm();
protected:   
    uint8_t addr;
    uint8_t motorNum;
    Serial* serial;
    DigitalOut* serialControl;
    
};
    
#endif