ALPHA_A

Dependencies:   DataPool MD_PID mbed

Committer:
hirotayamato
Date:
Wed Aug 30 05:23:13 2017 +0000
Revision:
0:e77e7d7bbae0
Child:
3:42fdfd41f96a
ALPHA_A

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hirotayamato 0:e77e7d7bbae0 1 #ifndef _MD_H_
hirotayamato 0:e77e7d7bbae0 2 #define _MD_H_
hirotayamato 0:e77e7d7bbae0 3 #include "mbed.h"
hirotayamato 0:e77e7d7bbae0 4
hirotayamato 0:e77e7d7bbae0 5 class MD
hirotayamato 0:e77e7d7bbae0 6 {
hirotayamato 0:e77e7d7bbae0 7 public:
hirotayamato 0:e77e7d7bbae0 8 MD(PinName pwm,PinName dere);
hirotayamato 0:e77e7d7bbae0 9 void rotate(double duty);
hirotayamato 0:e77e7d7bbae0 10 private:
hirotayamato 0:e77e7d7bbae0 11 PwmOut Pwm;
hirotayamato 0:e77e7d7bbae0 12 DigitalOut Dere;
hirotayamato 0:e77e7d7bbae0 13 };
hirotayamato 0:e77e7d7bbae0 14
hirotayamato 0:e77e7d7bbae0 15 #endif