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.
Fork of Lab7-01_template by
Revision 11:dbb3dde00a9f, committed 2017-09-06
- Comitter:
- HEPTA
- Date:
- Wed Sep 06 22:57:33 2017 +0000
- Parent:
- 10:a998300647dd
- Commit message:
- LAB_1
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Sep 04 17:13:12 2017 +0000
+++ b/main.cpp Wed Sep 06 22:57:33 2017 +0000
@@ -4,6 +4,7 @@
int main()
{
+
pc.baud(9600);
int i1 = 7;
float i2 = 7.5;
@@ -13,8 +14,10 @@
pc.printf("i2 = %f\r\n",i2);
pc.printf("i3 = %c\r\n",i3);
pc.putc(i3);
+
for(i1 = 0; i1 < 10; i1++) {
pc.printf("i1 = %d\r\n",i1);
pc.putc(pc.getc());
}
+
}
\ No newline at end of file
