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 SDFileSystem_
Revision 20:db6a609232d2, committed 2021-09-03
- Comitter:
- tnanbu
- Date:
- Fri Sep 03 08:56:25 2021 +0000
- Parent:
- 19:2475d32bd93f
- Commit message:
- jojo
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Sep 03 08:54:23 2021 +0000
+++ b/main.cpp Fri Sep 03 08:56:25 2021 +0000
@@ -118,7 +118,7 @@
writeEEPROMByte(0, max_g);
}
- sprintf(stracc1,"%d,x:%2.2f,y:%2.2f,z:%2.2f scr:%2.2f\r\n",timecount,(float)tx*0.005,(float)ty*0.005,(float)tz*0.005,(float)scr*0.005);
+ sprintf(stracc1,"%d,%2.2f,%2.2f,%2.2f,%2.2f\r\n",timecount,(float)tx*0.005,(float)ty*0.005,(float)tz*0.005,(float)scr*0.005);
//pc.printf("h3lis331dl:%s",stracc1);
if(strlen(buffer1)+strlen(stracc1) > 512) {
//pc.printf("buffer over. write file2\r\n");