Aansturing van de robotarm met 2 knopjes i.p.v. emg, zoveel mogelijk van de code intact gelaten

Dependencies:   Encoder HIDScope MODSERIAL mbed

Files at this revision

API Documentation at this revision

Comitter:
wiesdat
Date:
Fri Nov 14 09:17:43 2014 +0000
Parent:
5:017f78f0340a
Commit message:
maxpwm's weer aangepast naar wat het originele plan was

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Nov 14 09:15:21 2014 +0000
+++ b/main.cpp	Fri Nov 14 09:17:43 2014 +0000
@@ -400,13 +400,13 @@
     switch(k)
     {
         case 1:
-            maxpwm=0.6; //DE MAX PWM'en AANPASSEN VOOR DE ANDERE CASES!!!!
+            maxpwm=1; //DE MAX PWM'en AANPASSEN VOOR DE ANDERE CASES!!!!
             break;
         case 2:
             maxpwm=0.8;
             break;
         case 3:
-            maxpwm=1.0;
+            maxpwm=0.6;
             break;
         /*case 4:
             maxpwm=0.2;