Omni_2017_a

Dependencies:   mbed

Fork of Omni_2017_z by 広田 勇斗

Committer:
hirotayamato
Date:
Sat Aug 05 02:29:14 2017 +0000
Revision:
0:fd933ea5f19d
Omni_2017_z
;

Who changed what in which revision?

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