uint8_t型とunsigned char型に対応した多バイトシリアル通信用ライブラリ

Dependents:   multiserial_test serial_check_controller receiverA receiver_transmitter ... more

Revision:
20:9e14b87bfdac
Parent:
19:0acb5961827b
Child:
21:f8802a69c1af
Child:
26:0b108faf5d5a
--- a/MultiSerial.cpp	Tue Oct 14 08:58:39 2014 +0000
+++ b/MultiSerial.cpp	Tue Oct 14 10:11:18 2014 +0000
@@ -159,9 +159,11 @@
             return __first_bit;
             
             }
-        uint8_t MultiSerial::check_rx(){
+            
+        void MultiSerial::check_rx_wait(){
             
-            return __check_rx;
+                
+                if(__check_rx==0) NVIC_SystemReset();
             
             }
             
\ No newline at end of file