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: mbed
Fork of Nucleo_PS3_Jikken_XBEE by
Revision 37:42a4b925ca9c, committed 2015-11-18
- Comitter:
- nodoame
- Date:
- Wed Nov 18 09:30:32 2015 +0000
- Parent:
- 36:ffc35cee92d3
- Child:
- 38:8a1db149ee61
- Commit message:
- 20151118; XBOX??
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Nov 18 09:23:23 2015 +0000
+++ b/main.cpp Wed Nov 18 09:30:32 2015 +0000
@@ -24,6 +24,8 @@
#define debugFlag 0
#define stopCount 33
#define shotWait 0.5
+#define isXBOX true
+#define XBOXrate 19200
Serial pc(SERIAL_TX, SERIAL_RX);
//Serial Dev(D8,D2);//コントローラー
@@ -227,7 +229,7 @@
int main() {
pc.baud(230400);
- Dev.baud(921600);//PS3
+ Dev.baud((isXBOX)?(XBOXrate):(921600));
//Dev.baud(115200);//XBOX
Mechanum.baud(230400);
DigitalIn bt(USER_BUTTON);
