Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 4:5df1bfac0f43
- Parent:
- 1:a9cd302df0c5
- Child:
- 5:47cf103f9223
diff -r de9ceec558b5 -r 5df1bfac0f43 main.cpp
--- a/main.cpp Fri May 07 09:36:57 2021 +0000
+++ b/main.cpp Fri May 07 09:38:38 2021 +0000
@@ -1,8 +1,9 @@
#include "Serial_Writer.h"
Serial_Writer TWE(D5,D4,115200);
-int main(void){
- while(true){
- int bit_[3]={10,20,30};//任意の型の配列
+int main(void)
+{
+ while(true) {
+ int bit_[3]= {10,20,30}; //任意の型の配列
TWE.write(bit_,40);
}
-}
+}
\ No newline at end of file