Omni_2017_a

Dependencies:   mbed

Fork of Omni_2017_z by 広田 勇斗

Revision:
2:82c337a18500
Parent:
0:fd933ea5f19d
diff -r fa8227369eb0 -r 82c337a18500 2017_3_a/MD/MD.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2017_3_a/MD/MD.h	Sat Aug 05 06:11:16 2017 +0000
@@ -0,0 +1,15 @@
+#ifndef _MD_H_
+#define _MD_H_
+#include "mbed.h"
+
+class MD
+{
+public:
+    MD(PinName pwm,PinName dere);
+    void rotate(double duty);
+private:
+    PwmOut Pwm;
+    DigitalOut Dere;
+};
+
+#endif