Rob Griffith / Mbed 2 deprecated rat_code

Dependencies:   mbed QEI

Revision:
3:35deb5c21b33
Parent:
0:88c60458332e
--- a/headers/motors.h	Thu Nov 15 17:22:50 2018 +0000
+++ b/headers/motors.h	Mon Nov 26 23:50:58 2018 +0000
@@ -1,10 +1,10 @@
 #pragma once
 
-const int PERIOD_US = 10000;
+const int PERIOD_US = 1000;
 
 // Feel free to change these parameters as needed
 const float MIN_SPEED = 0.08f;
-const float MAX_SPEED = 0.3f;
+const float MAX_SPEED = 0.2;
 
 const int RIGHT_MOTOR = 0;
 const int LEFT_MOTOR = 1;