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.
Revision 4:d58b9ad5d43d, committed 2015-02-27
- Comitter:
- geovas
- Date:
- Fri Feb 27 10:39:33 2015 +0000
- Parent:
- 3:6ec54d838b44
- Commit message:
- fully working source code!
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Feb 15 08:04:49 2015 +0000 +++ b/main.cpp Fri Feb 27 10:39:33 2015 +0000 @@ -1,17 +1,17 @@ #include "mbed.h" #include "echo_sensor.h" // echo sensor library -#define LM1_ D3 -#define LM2_ D7 -#define RM1_ D6 -#define RM2_ D5 +#define LM1_ D10 +#define LM2_ D9 +#define RM1_ D5 +#define RM2_ D6 #define RX_ PTC14 #define TX_ PTC15 PwmOut LM1(LM1_); // motors configuration PwmOut LM2(LM2_); PwmOut RM1(RM1_); -PwmOut RM2(LM2_); +PwmOut RM2(RM2_); Serial link(TX_, RX_); // bluetooth serial port //Serial link(USBTX, USBRX); // usb serial port