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:b514c679dba8, committed 2021-10-27
- Comitter:
- duncan_120
- Date:
- Wed Oct 27 05:12:47 2021 +0000
- Parent:
- 1:2c4a65353203
- Commit message:
Changed in this revision
| Lab1_2.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Lab1_2.cpp Mon Oct 25 10:19:21 2021 +0000
+++ b/Lab1_2.cpp Wed Oct 27 05:12:47 2021 +0000
@@ -83,14 +83,12 @@
myled1= 1; //1暗 0亮
myled2= 0;
timer_count++;
- uart.printf("This program runs %d seconds.\r\n",i);
}
else if (timer_count == 2500)
{
myled1= 0;
myled2= 1;
timer_count = 0;
- uart.printf("This program runs %d seconds.\r\n",i);
}
else