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 1:053470b21848, committed 2022-09-12
- Comitter:
- MasatakaMizumoto
- Date:
- Mon Sep 12 17:37:58 2022 +0000
- Parent:
- 0:d6af7298fce8
- Commit message:
- serial send test SRAAF
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Sep 17 13:29:24 2020 +0000
+++ b/main.cpp Mon Sep 12 17:37:58 2022 +0000
@@ -4,11 +4,11 @@
RawSerial pc2(USBTX,USBRX,115200);
int main() {
- char k[]="Hello world";
+ char k[]="SRAAF";
while(1) {
pc.printf("%s\r\n",k);
- wait(1);
- pc2.printf("a\r\n");
+ wait(0.5);
+ pc2.printf("%s\r\n",k);
}
}
\ No newline at end of file