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 3:34f37e33016d, committed 2016-04-25
- Comitter:
- lhinh3431
- Date:
- Mon Apr 25 03:25:20 2016 +0000
- Parent:
- 2:b258510a2573
- Commit message:
- April 24, 2016 20:25 REV0.3
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 25 02:29:13 2016 +0000 +++ b/main.cpp Mon Apr 25 03:25:20 2016 +0000 @@ -82,10 +82,10 @@ } for(int i = 0; i < 3; i++) // Convert integer array to string { - mDimStr += data[i+4]; - mTempStr += data[i+7]; - sDimStr += data[i+12]; - sTempStr += data[i+15]; + mDimStr += data[i]; + mTempStr += data[i+3]; + sDimStr += data[i+6]; + sTempStr += data[i+9]; } if(data[0] > 1 || data[6] > 1) // Logic check for dim amount for both master and slave