esta librería sirve para el control del motor paso a paso.

Dependents:   PICCOLO_CNC1

Revision:
3:ec3add9f1351
Parent:
2:7e471c76cd6b
--- a/Step_Motor.h	Tue Apr 24 04:51:31 2018 +0000
+++ b/Step_Motor.h	Tue Apr 24 15:48:13 2018 +0000
@@ -9,7 +9,7 @@
 class stepmotor {
 public:
  
-    stepmotor(PinName in1, PinName in2, PinName in3, PinName in4); 
+    stepmotor(PinName in1, PinName in2, PinName in3, PinName in4,PinName in5, PinName in6, PinName in7, PinName in8); 
     void step(uint32_t num_steps,uint8_t cw);
     void set_speed(int speed);
     uint32_t get_speed();
@@ -17,7 +17,8 @@
     BusOut motor_out;
     uint32_t motorSpeed; 
     int8_t nstep;
-    
+    int8_t nstep2;
+    int8_t ms2;
     void move();
 };