F303がUART2で文字列を送信する予定だった・
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:be0621ef749a
diff -r 000000000000 -r be0621ef749a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue May 03 06:34:01 2022 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +Serial F303(PA_2,PA_3); + +int main(){ + F303.baud(9600); + for(int i=14;i<113;i++){ + F303.printf("%c\r\n",i); + wait(2); + } + printf("finished\r\n"); + return 0; +} \ No newline at end of file