svoe

Dependencies:   mbed mbed-STM32F103C8T6 MPU6050_1

Revision:
8:891e4f54e9e2
Parent:
6:6e89cdc3db92
Child:
9:8f98b1c277a4
--- a/motor.h	Sun May 21 12:04:00 2017 +0000
+++ b/motor.h	Fri Aug 18 08:53:15 2017 +0000
@@ -1,10 +1,10 @@
-float accel = 5; //cm/c/50mS - 5 = 1 cm/S^2
+float accel = 1; //cm/c/50mS - 5 = 1 cm/S^2
 float motor_speed[2] = {1,1}; //left, right (real exact current speed of each motor for the next raltime slot)
 
 DigitalOut  dir_left(PC_15);
 DigitalOut  dir_right(PA_2);
 DigitalOut  motor_enable(PA_0);//sleep inverted
-PwmOut step_left(PB_5);
+PwmOut step_left(PB_4);
 PwmOut step_right(PA_1);
 
 void skorost(int right, float motor_target_speed){ //(0-left,1-right), cm/s [-400;400]