![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: Data.cpp
- Revision:
- 47:1dc3b5f7bf4a
- Parent:
- 46:70031ad8f2b9
- Child:
- 48:e9578f56534a
diff -r 70031ad8f2b9 -r 1dc3b5f7bf4a Data.cpp --- a/Data.cpp Thu Jul 09 13:37:43 2015 +0000 +++ b/Data.cpp Mon Jul 13 10:34:29 2015 +0000 @@ -20,6 +20,6 @@ void averageData() //adds average data fom b2 to b6 { FILE *fp2 = fopen("/local/Datalog.xls", "a"); - fprintf(fp2, " Average \t=SUM(B2:B6) / 5 \n"); + fprintf(fp2, " Average \t=SUM(B2:B4) / 5 \n"); fclose(fp2); } \ No newline at end of file