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: uart.cpp
- Revision:
- 26:732bc37fbefd
- Parent:
- 25:f3a6e7eec9c3
- Child:
- 39:1b76f7df8804
--- a/uart.cpp Wed Dec 12 23:52:22 2018 +0000
+++ b/uart.cpp Thu Dec 13 12:15:35 2018 +0000
@@ -5,6 +5,11 @@
//ログ吐出し様シリアルポートインスタンス
//----------------------------------
+#ifdef DEBUG_T_SERIAL
+ Serial sp(USBTX, USBRX); //有線のポート
+ Serial spMoni(p9, p10);//TWILITEをモジュールを接続したポート/Outputのみ
+ #define BAUD_RATE 115200
+#else
#define WIREED_SERIAL
#ifdef WIREED_SERIAL
Serial sp(USBTX, USBRX); //有線のポート
@@ -13,7 +18,7 @@
Serial sp(p9, p10);//TWILITEをモジュールを接続したポート
#define BAUD_RATE 115200
#endif
-
+#endif
//Serial sp46Axis(p28,p27);
//Asciiコード