Eindversie. LU: 07-11-13.

Dependencies:   MODSERIAL mbed Encoder

Files at this revision

API Documentation at this revision

Comitter:
Socrates
Date:
Mon Nov 04 08:15:19 2013 +0000
Parent:
30:c569058f10aa
Child:
32:5ae627e1bce8
Commit message:
Voor Notes proberen

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Nov 02 20:13:06 2013 +0000
+++ b/main.cpp	Mon Nov 04 08:15:19 2013 +0000
@@ -295,13 +295,13 @@
         zy=zy*(1.0/(1.0-emggrens));
 
 //Richting omdraaien met triceps.
-        if (ztr>0.15 && dirflagx == true) {
+        if (ztr>0.1 && dirflagx == true) {
             dirflagx = false;
             xdir ^= 1;
             //zx=0;  //NOTE: deze weghalen kan schelen?
             dirtimeout.attach(tricheck,1.0);
         }
-        if (ztl>0.15 && dirflagy == true) {
+        if (ztl>0.1 && dirflagy == true) {
             dirflagy = false;
             ydir ^= 1;
             //zy=0;