Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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