eindscript the slap

Dependencies:   Encoder HIDScope MODSERIAL TextLCD mbed-dsp mbed

Files at this revision

API Documentation at this revision

Comitter:
DominiqueC
Date:
Tue Nov 04 11:59:11 2014 +0000
Parent:
6:2c11ee0c05b4
Child:
8:f8f58e48b352
Commit message:
Eindscript presentatie

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 04 11:36:44 2014 +0000
+++ b/main.cpp	Tue Nov 04 11:59:11 2014 +0000
@@ -252,7 +252,7 @@
                 float kalibratiewaarde_deltoid;
                 kalibratiewaarde_deltoid=(envelop_emg1/max_value_deltoid);
                 if (kalibratiewaarde_deltoid >= 0.35) {
-                    setpointkm = -229;          //11,12 graden naar links
+                    setpointkm = -329;          //11,12 graden naar links
                     lcd.cls();
                     lcd.locate(0,0);
                     lcd.printf("links");
@@ -262,7 +262,7 @@
                     lcd.locate(0,0);
                     lcd.printf("midden");
                 } else {
-                    setpointkm = 229;       //11,12 graden naar rechts //oud 127    //30 graden
+                    setpointkm = 280;       //11,12 graden naar rechts //oud 127    //30 graden
                     lcd.cls();
                     lcd.locate(0,0);
                     lcd.printf("rechts");