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:65d57cc8cb22, committed 2017-06-06
- Comitter:
- mijimy
- Date:
- Tue Jun 06 09:26:52 2017 +0000
- Parent:
- 0:8cf7ed60c892
- Commit message:
- rwer
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jun 06 08:49:30 2017 +0000
+++ b/main.cpp Tue Jun 06 09:26:52 2017 +0000
@@ -16,9 +16,9 @@
while (1)
{ // infinite loop
data2 = GetKeyInput(); // call function to get 1st key press
- Seg2=SegConvert(data2); // call function to convert and output
+ Seg1=SegConvert(data2); // call function to convert and output
data1 = GetKeyInput(); // call function to get 2nd key press
- Seg1=SegConvert(data1); // call function to convert and output
+ Seg2=SegConvert(data1); // call function to convert and output
pc.printf(" "); // display spaces between 2 digit numbers
}
}