Library for using the xbee-compatible Bluetooth Bee Module on an m3pi.

Dependencies:   SensoryTest

Fork of btbee by Nikolas Goldin

Revision:
14:7ddbd9f475ad
Parent:
13:4016c362b0d5
Child:
15:cc5b8a858c6e
--- a/main.cpp	Wed May 21 11:58:27 2014 +0000
+++ b/main.cpp	Wed May 21 12:06:54 2014 +0000
@@ -6,9 +6,9 @@
 
 int main() {
     
-    float speed = 0.5;
+    float speed = 0.25;
     float correction;
-    float k = -0.9;
+    float k = -0.3;
     
     
     thinggy.locate(0,1);
@@ -19,7 +19,7 @@
     thinggy.sensor_auto_calibrate();
     while(1) {
         
-         wait(0.05);
+    
          // -1.0 is far left, 1.0 is far right, 0.0 in the middle
         float position = thinggy.line_position();
         correction = k*(position);