For Rotaryencoder and Motor

Dependencies:   arrc_mbed

Dependents:  

Revision:
0:b1487fd792c9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/motor.hpp	Sat Jul 16 06:38:44 2022 +0000
@@ -0,0 +1,13 @@
+#ifndef Motor_H 
+#define Motor_H
+#include "mbed.h"
+
+class Motor{
+public:
+    Motor(PinName MP, PinName MM);
+    void out(double pwm);
+private:
+    PwmOut mp;
+    PwmOut mm;
+};
+#endif 
\ No newline at end of file