uint8_t型とunsigned char型に対応した多バイトシリアル通信用ライブラリ
Dependents: multiserial_test serial_check_controller receiverA receiver_transmitter ... more
Diff: MultiSerial.h
- Revision:
- 25:1df5616cc007
- Parent:
- 24:0ca02e8c37e5
diff -r 0ca02e8c37e5 -r 1df5616cc007 MultiSerial.h --- a/MultiSerial.h Tue Oct 14 12:22:02 2014 +0000 +++ b/MultiSerial.h Wed Oct 15 06:14:59 2014 +0000 @@ -99,6 +99,10 @@ uint8_t readable_check(); void check_rx_wait(); + + uint8_t re_counter_rx(); + + void reset_counter_rx(); protected: @@ -116,5 +120,7 @@ volatile uint8_t __first_bit; -}; + volatile uint8_t __counter_rx; + + }; #endif \ No newline at end of file