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.
Revision 1:0fec28dd7cd1, committed 2016-06-22
- Comitter:
- Hotboards
- Date:
- Wed Jun 22 18:19:35 2016 +0000
- Parent:
- 0:ed82bc2dec29
- Commit message:
- second release
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jun 22 16:50:14 2016 +0000
+++ b/main.cpp Wed Jun 22 18:19:35 2016 +0000
@@ -65,8 +65,18 @@
case 3: //slider
{
-
+
+ int d1,d2,d3,val;
+ d1 = rxbuff[3]-48;
+ d2 = rxbuff[4]-48;
+ d3 = rxbuff[5]-48;
+
+ val = (d1*100)+(d2*10)+d3;
+
+
+
+ pc.printf("%d\r\n",val);
}
break;