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: main.cpp
- Revision:
- 4:71b6be2a4b13
- Parent:
- 3:f56810dbc1ce
- Child:
- 5:c7734a94b30a
diff -r f56810dbc1ce -r 71b6be2a4b13 main.cpp --- a/main.cpp Sun Nov 15 15:13:05 2020 +0000 +++ b/main.cpp Sat Nov 21 03:56:01 2020 +0000 @@ -2,8 +2,8 @@ #include "mbed.h" /* Define */ -//#define USB_DEBUG // xbeeでは送れない量の情報をusb通して送信 -#define SIMPLE_USE // xbeeで情報送信 +//#define USB_DEBUG // xbeeではなくusbに送信 +#define SIMPLE_USE // xbeeで情報送信できる情報量に制限 /* ID */ const int kModuleID = 1; @@ -44,7 +44,7 @@ //DigitalOut pump(PA_11); DigitalOut pump(PA_8); DigitalOut sluster(PA_11); //修正 -#ifndef USE_DEBUG +#ifndef USB_DEBUG Serial xbee(PA_9, PA_10); #else Serial xbee(USBTX, USBRX);