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: Encoder HIDScope MODSERIAL TouchButton mbed-dsp mbed
Fork of Robot2mooiemanier by
Revision 19:0754c9563e01, committed 2014-10-31
- Comitter:
- Jolein
- Date:
- Fri Oct 31 11:10:47 2014 +0000
- Parent:
- 18:1e40778ad1aa
- Child:
- 20:99a8e9da2d6d
- Commit message:
- zelfde als net maar zonder terugkeren if in motor1aansturing()
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Oct 31 11:09:37 2014 +0000
+++ b/main.cpp Fri Oct 31 11:10:47 2014 +0000
@@ -661,12 +661,12 @@
motordir1 = 1;
pc.printf("SLAAN\n");
- if (toestand == TERUGKEREN) {
+ /*if (toestand == TERUGKEREN) {
new_pwm = pid(setspeed, motor1.getSpeed(),false);
pwm_motor1.write(new_pwm);
motordir1 = 0;
pc.printf("motor gaat terugkeren\n\r");
- pc.printf("new pwm %f\r\n",new_pwm);
+ pc.printf("new pwm %f\r\n",new_pwm);*/
}
}
