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.
Diff: pinmap.h
- Revision:
- 1:39ada37dfdbe
- Parent:
- 0:9d5b8d0fb901
- Child:
- 2:43e1336c80e4
--- a/pinmap.h Fri Dec 27 02:58:06 2019 +0000 +++ b/pinmap.h Fri Dec 27 05:43:32 2019 +0000 @@ -1,8 +1,15 @@ #ifndef PINMAP_H #define PINMAP_H #include"mbed.h" +#include "SBDBT.h" +#include "mdc.h" sbdbt sb(PA_0,PA_1,115200); Serial pc(USBTX,USBRX,115200); +I2C i2c(D5,D7); +motor mt1(i2c,0x22); +motor mt2(i2c,0x24); +motor mt3(i2c,0x28); +motor mt4(i2c,0x30); #endif \ No newline at end of file