librería paso a paso
Dependencies: mbed MPU6050 MOTOR_PASO_A_PASO
Diff: main.cpp
- Revision:
- 1:3bdc4f391a4c
- Parent:
- 0:6f563a11383b
--- 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); } }