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.
Dependents: F446_FunctionGenerator F446_UpSampling_GraphicEqualizer F446_UpSampling_ReverbSystem F446_UpSampling_FrqShifter_Weaver ... more
Revision 14:268977533f95, committed 2021-04-12
- Comitter:
- MikamiUitOpen
- Date:
- Mon Apr 12 11:49:16 2021 +0000
- Parent:
- 13:deeef404ff49
- Commit message:
- 15
Changed in this revision
| SerialRxTxIntr.hpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SerialRxTxIntr.hpp Wed Feb 05 08:45:08 2020 +0000
+++ b/SerialRxTxIntr.hpp Mon Apr 12 11:49:16 2021 +0000
@@ -9,7 +9,9 @@
// Nucleo-F446RE の場合,ファームウェアの更新をしなくても
// 115,200 boud までは動作可能
//
-// 2020/02/05, Copyright (c) 2020 MIKAMI, Naoki
+// 2021/04/12 メンバ関数 Baud() を追加
+//
+// 2021/04/12, Copyright (c) 2020 MIKAMI, Naoki
//-------------------------------------------------------------
#include "mbed.h"
@@ -30,6 +32,7 @@
void EchobackEnable() { echoOn_ = true; } // エコーバック ON
void EchobackDisable() { echoOn_ = false; } // エコーバック OFF
void TxString(string str) { tx_.TxString(str); } // 文字列の送信
+ void Baud(int baudRate) { pc_.baud(baudRate); } // ボーレートの設定
private:
Serial pc_;