MDC3.0 rs-485 コントロールプログラム can も追加予定.... 詳細はwiki バグレポートは中田くんに,やさしく教えてください(煽り禁止)

Dependents:   quadOmni_yanagi NHK2017_octopus ikarashiMDCmaster NHK2017_octopus2 ... more

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