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:
- 1:a9cd302df0c5
- Parent:
- 0:1779b0a23b09
- Child:
- 4:5df1bfac0f43
--- a/main.cpp Thu Apr 29 03:16:39 2021 +0000
+++ b/main.cpp Fri May 07 08:56:38 2021 +0000
@@ -1,10 +1,8 @@
-#include "mbed.h"
#include "Serial_Writer.h"
-
-Serial_Writer TWE(A0,A1,115200);
+Serial_Writer TWE(D5,D4,115200);
int main(void){
- int16_t bit_[4]={10,20,30,40};
while(true){
- TWE.write(bit_,30);
+ int bit_[3]={10,20,30};//任意の型の配列
+ TWE.write(bit_,40);
}
}