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

Dependents:   quadOmni_yanagi NHK2017_octopus ikarashiMDCmaster NHK2017_octopus2 ... 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