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.
Dependencies: Alpha_Movements BoolProcess DataCaller MD_PID mbed angle
Fork of 2017_Bteam_alpha_master by
2017_4/MD/MD.h@1:12e4c91a3b04, 2017-09-08 (annotated)
- Committer:
 - hirotayamato
 - Date:
 - Fri Sep 08 06:26:22 2017 +0000
 - Revision:
 - 1:12e4c91a3b04
 
2017_Bteam_alpha_master_ashi
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| hirotayamato | 1:12e4c91a3b04 | 1 | #ifndef _MD_H_ | 
| hirotayamato | 1:12e4c91a3b04 | 2 | #define _MD_H_ | 
| hirotayamato | 1:12e4c91a3b04 | 3 | #include "mbed.h" | 
| hirotayamato | 1:12e4c91a3b04 | 4 | |
| hirotayamato | 1:12e4c91a3b04 | 5 | class MD | 
| hirotayamato | 1:12e4c91a3b04 | 6 | { | 
| hirotayamato | 1:12e4c91a3b04 | 7 | public: | 
| hirotayamato | 1:12e4c91a3b04 | 8 | MD(PinName pwm,PinName dere); | 
| hirotayamato | 1:12e4c91a3b04 | 9 | void rotate(double duty); | 
| hirotayamato | 1:12e4c91a3b04 | 10 | private: | 
| hirotayamato | 1:12e4c91a3b04 | 11 | PwmOut Pwm; | 
| hirotayamato | 1:12e4c91a3b04 | 12 | DigitalOut Dere; | 
| hirotayamato | 1:12e4c91a3b04 | 13 | }; | 
| hirotayamato | 1:12e4c91a3b04 | 14 | |
| hirotayamato | 1:12e4c91a3b04 | 15 | #endif | 
