ikarashiMDCの2byteバージョン

Dependents:   NHK2019_mae_v6 NHK2019_main_v6 NHK2019_usiro_v6 2019BSyudo ... more

Committer:
WAT34
Date:
Thu Aug 10 07:17:14 2017 +0000
Revision:
1:5e8014a1adbd
Parent:
0:314f2bed3958
Child:
2:75153205d6e8
worked;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WAT34 0:314f2bed3958 1 #ifndef IKARASHIMDC_H
WAT34 0:314f2bed3958 2 #define IKARASHIMDC_H
WAT34 0:314f2bed3958 3
WAT34 0:314f2bed3958 4 #include "mbed.h"
WAT34 0:314f2bed3958 5
WAT34 0:314f2bed3958 6
WAT34 1:5e8014a1adbd 7 class ikarashiMDC
WAT34 1:5e8014a1adbd 8 {
WAT34 0:314f2bed3958 9
WAT34 0:314f2bed3958 10 public:
WAT34 0:314f2bed3958 11 ikarashiMDC();
WAT34 0:314f2bed3958 12 int setMotorSpeed(double speed);
WAT34 0:314f2bed3958 13 int setMotorinfo(uint8_t _addr,uint8_t _motorNum,Serial* _serial);
WAT34 1:5e8014a1adbd 14 void stop();
WAT34 1:5e8014a1adbd 15 int checkcomm();
WAT34 0:314f2bed3958 16 protected:
WAT34 0:314f2bed3958 17 uint8_t addr;
WAT34 0:314f2bed3958 18 uint8_t motorNum;
WAT34 0:314f2bed3958 19 Serial* serial;
WAT34 1:5e8014a1adbd 20 DigitalOut* serialControl;
WAT34 0:314f2bed3958 21
WAT34 0:314f2bed3958 22 };
WAT34 1:5e8014a1adbd 23
WAT34 0:314f2bed3958 24 #endif