Serial_Writerの受信側

Revision:
3:f0c85f2558c4
Parent:
0:7babc610f171
Child:
4:7e5c1416d641
--- a/main.cpp	Fri May 07 09:27:44 2021 +0000
+++ b/main.cpp	Fri May 07 09:35:03 2021 +0000
@@ -7,7 +7,8 @@
         int bit_[3];
         int n=TWE.receive(bit_);
         if(n==0){
-            printf("%d %d %d\n\r",bit_[0],bit_[1],bit_[2]);   
+            for(int c:bit_)printf("%d ",c);
+            printf("\n\r");
         }
     }
 }