Nucleo ボードの USB コネクタに対応するシリアルポート受送信割込みで,複数のキャラクタ受送信をサポ-トするクラス. このライブラリを登録した際のプログラム: Demo_F446_AD_DA_Ctrl.
Dependents: F446_FunctionGenerator F446_UpSampling_GraphicEqualizer F446_UpSampling_ReverbSystem F446_UpSampling_FrqShifter_Weaver ... more
Diff: SerialRxTxIntr.cpp
- Revision:
- 7:190d94fba10d
- Parent:
- 6:8084247806a4
- Child:
- 8:8f6e9351f313
--- a/SerialRxTxIntr.cpp Fri Sep 28 08:13:26 2018 +0000 +++ b/SerialRxTxIntr.cpp Sun Oct 07 03:30:15 2018 +0000 @@ -2,7 +2,7 @@ // Nucleo ボードの USB コネクタに対応するシリアルポート受送信割込みで // 複数のキャラクタ受送信をサポ-トするクラス // -// 2018/09/28, Copyright (c) 2018 MIKAMI, Naoki +// 2018/10/06, Copyright (c) 2018 MIKAMI, Naoki //------------------------------------------------------------- #include "SerialRxTxIntr.hpp" @@ -29,14 +29,6 @@ return true; } - // 文字列の送信 - // lf が false の場合は,最後に '\n' を送信しない - void SerialRxTxIntr::Tx(string str, bool lf) - { - tx_.TxString(str); - if (lf) tx_.TxWrite('\n'); - } - // シリアル・ポートの受信割り込みに対する割り込みサービス・ルーチン void SerialRxTxIntr::RxIsr() { @@ -64,3 +56,4 @@ } } } +