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: Encoder HIDScope MODSERIAL- mbed-dsp mbed
Fork of PROJECT_incl_regelaar by
Diff: PROJECT_main.cpp
- Revision:
- 21:779de788eb92
- Parent:
- 20:5007ddcd03ef
- Child:
- 22:77d7065cc431
--- a/PROJECT_main.cpp Tue Nov 04 10:09:43 2014 +0000
+++ b/PROJECT_main.cpp Tue Nov 04 10:13:43 2014 +0000
@@ -548,7 +548,7 @@
//setpoint2 += 1*TSAMP;
switch (direction) {
case 1:
- angle = 0.20;
+ angle = 0.1; //0.15 links
break;
case 2:
angle = 0.13;
@@ -564,13 +564,13 @@
count = 0;
state=2;
}
-
+
/*
if(setpoint2>angle) { // batjeset (controle bereik)
setpoint2 = angle; //setpoint2 = motor2.getPosition()*omrekenfactor2;
count = 0;
state=2;
- }*/
+ } */
break;
}
case 2: {
