Nucleo ボードの USB コネクタに対応するシリアルポート受送信割込みで,複数のキャラクタ受送信をサポ-トするクラス. このライブラリを登録した際のプログラム: Demo_F446_AD_DA_Ctrl.
Dependents: F446_FunctionGenerator F446_UpSampling_GraphicEqualizer F446_UpSampling_ReverbSystem F446_UpSampling_FrqShifter_Weaver ... more
Diff: SerialRxTxIntr.hpp
- Revision:
- 7:190d94fba10d
- Parent:
- 6:8084247806a4
- Child:
- 8:8f6e9351f313
--- a/SerialRxTxIntr.hpp Fri Sep 28 08:13:26 2018 +0000 +++ b/SerialRxTxIntr.hpp Sun Oct 07 03:30:15 2018 +0000 @@ -9,7 +9,7 @@ // Nucleo-F446RE の場合,ファームウェアの更新をしなくても // 115,200 boud までは動作可能 // -// 2018/09/21, Copyright (c) 2018 MIKAMI, Naoki +// 2018/10/06, Copyright (c) 2018 MIKAMI, Naoki //------------------------------------------------------------- #include "mbed.h" @@ -35,7 +35,7 @@ // エコーバック OFF void EchobackDisable() { echoOn_ = false; } // 文字列の送信 - void Tx(string str, bool lf = true); + void Tx(string str) { tx_.TxString(str); } private: Serial pc_; @@ -52,3 +52,4 @@ }; } #endif // SERIAL_RXTX_INTR_HPP +