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: MODSERIAL QEI mbed
Fork of check_motoren_buttons_emg by
Revision 13:ba5713727343, committed 2016-09-30
- Comitter:
- daniQQue
- Date:
- Fri Sep 30 13:12:18 2016 +0000
- Parent:
- 12:20b8999018df
- Child:
- 14:091953e55c1d
- Commit message:
- motor 2 sneller dan 1/.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
}
