librería paso a paso

Dependencies:   mbed MPU6050 MOTOR_PASO_A_PASO

Files at this revision

API Documentation at this revision

Comitter:
SantiagoE
Date:
Sat Aug 15 01:51:26 2020 +0000
Parent:
0:6f563a11383b
Commit message:
paso a paso;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jun 11 02:06:31 2020 +0000
+++ b/main.cpp	Sat Aug 15 01:51:26 2020 +0000
@@ -1,11 +1,12 @@
 #include "mbed.h"
 #include "MPP.h"
-MPP motor(D0,D1,D2,D3);
+//MPP motor(D0,D1,D2,D3);
+MPP motor(PB_5,PB_4,PB_3,PA_15);
 int main() 
 {
     while(1) 
     {
-       // motor.Activate(1);
-       motor.Fine_Again(90,2,2); 
+        // motor.Activate(1);
+         motor.Fine_Again(180,2,1);
     }
 }