![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
voorlopige script getest (posities nog toevoegen)
Dependencies: Encoder HIDScope MODSERIAL TextLCD mbed-dsp mbed
Revision 8:988ea0092101, committed 2014-11-01
- Comitter:
- DominiqueC
- Date:
- Sat Nov 01 15:00:47 2014 +0000
- Parent:
- 7:c2c3d1ade6bd
- Commit message:
- EINDSCRIPT DELTOID EN BICEPS
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c2c3d1ade6bd -r 988ea0092101 main.cpp --- a/main.cpp Sat Nov 01 13:14:33 2014 +0000 +++ b/main.cpp Sat Nov 01 15:00:47 2014 +0000 @@ -326,7 +326,7 @@ //MOTOR 1 naar home tijdtimer.reset(); tijdslaan.reset(); - while (tijdtimer.read() <=3) { + while (tijdtimer.read() <=6) { while(looptimerflag == false); looptimerflag = false; setpointgm = 0; @@ -348,6 +348,7 @@ motordir2 = 0; //rechts pwm_motor2.write(abs(new_pwm_km)); } + wait(10); state = RICHTEN; //optioneel break; }