check Dit is basis, en wordt uitgebreid door sieb
Dependencies: MODSERIAL QEI mbed
Fork of check_motoren_buttons_emg by
Diff: main.cpp
- Revision:
- 13:ba5713727343
- Parent:
- 12:20b8999018df
- Child:
- 14:091953e55c1d
--- a/main.cpp Fri Sep 30 13:10:39 2016 +0000 +++ b/main.cpp Fri Sep 30 13:12:18 2016 +0000 @@ -47,7 +47,7 @@ pc.printf("n is odd \n\r"); // print lijn "n is odd" pc.printf("left \n\r"); // print lijn "left" richting_motor2 = 1; - pwm_motor2 = 1; + pwm_motor2 = 5; ledcw=1; ledccw=1; } @@ -70,7 +70,7 @@ pc.printf("n is odd \n\r"); // print lijn "n is odd" pc.printf("right \n\r"); // print lijn "right" richting_motor2 = 0; - pwm_motor2 = 1; + pwm_motor2 = 5; ledccw=1; ledcw=0; } @@ -79,7 +79,7 @@ pc.printf("motor staat stil \n\r"); pwm_motor2=0; pwm_motor1=0; - ledccw=0; ;ledcw=0 + ledccw=0; ;ledcw=0; }