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.
Dependencies: mbed
Revision 2:f510a0b084ba, committed 2020-12-09
- Comitter:
- KINU
- Date:
- Wed Dec 09 12:01:45 2020 +0000
- Parent:
- 1:f7f1c0356ffd
- Commit message:
- aaaa
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Dec 09 08:48:04 2020 +0000 +++ b/main.cpp Wed Dec 09 12:01:45 2020 +0000 @@ -13,9 +13,9 @@ if(dir) { //データが届いている場合 - bin = device.getc(); //bin変数に値を入れる + bin = pc.getc(); //bin変数に値を入れる pc.printf("%02hhx ",bin); // デバッグ用 - if(bin == 0xFE){// bin変数の中身がFEの場合、値の取得開始 + /* if(bin == 0xFE){// bin変数の中身がFEの場合、値の取得開始 pc.printf("start"); for(int k = 0; k<1000; k++){ @@ -27,7 +27,7 @@ } - } + }*/ } }