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.
Diff: main.cpp
- Revision:
- 3:34f37e33016d
- Parent:
- 2:b258510a2573
--- 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