Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MODSERIAL mbed Encoder
Diff: main.cpp
- Revision:
- 31:5c90e931dbfe
- Parent:
- 30:c569058f10aa
- Child:
- 32:5ae627e1bce8
diff -r c569058f10aa -r 5c90e931dbfe main.cpp --- 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;