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
Revision 31:5c90e931dbfe, committed 2013-11-04
- 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;
