MDC3.0 rs-485 コントロールプログラム can も追加予定.... 詳細はwiki バグレポートは中田くんに,やさしく教えてください(煽り禁止)
Dependents: quadOmni_yanagi NHK2017_octopus ikarashiMDCmaster NHK2017_octopus2 ... more
Diff: ikarashiMDC.h
- Revision:
- 1:5e8014a1adbd
- Parent:
- 0:314f2bed3958
- Child:
- 2:75153205d6e8
diff -r 314f2bed3958 -r 5e8014a1adbd ikarashiMDC.h --- a/ikarashiMDC.h Mon Aug 07 22:39:44 2017 +0000 +++ b/ikarashiMDC.h Thu Aug 10 07:17:14 2017 +0000 @@ -3,20 +3,22 @@ #include "mbed.h" -#define SUCCESS 111 - -class ikarashiMDC{ +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 \ No newline at end of file