F303がUART2で文字列を送信する予定だった・
Dependencies: mbed
Revision 0:be0621ef749a, committed 2022-05-03
- Comitter:
- MatsumotoKouki
- Date:
- Tue May 03 06:34:01 2022 +0000
- Commit message:
- F303 send UART;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue May 03 06:34:01 2022 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/aa5281ff4a02 \ No newline at end of file