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_
Diff: main.cpp
- Revision:
- 20:db6a609232d2
- Parent:
- 19:2475d32bd93f
- Child:
- 21:6ce20b05602a
--- 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");