Log measurements on SD card added on DISCO-L476VG board acceleration, omega, compass & 5 Analog values
Dependencies: BSP_DISCO_L476VG COMPASS_DISCO_L476VG ConfigFile GYRO_DISCO_L476VG SDFileSystem mbed
Revision 2:f53340e49cc0, committed 2016-02-13
- Comitter:
- flowh
- Date:
- Sat Feb 13 14:48:40 2016 +0000
- Parent:
- 1:e1f3b4b8b99b
- Commit message:
- Save on SD Card at up to at least 100Hz Acceleration, rotation velocity, compass and 5 AI
Changed in this revision
--- a/ConfigFile.lib Sat Feb 13 14:29:40 2016 +0000 +++ b/ConfigFile.lib Sat Feb 13 14:48:40 2016 +0000 @@ -1,1 +1,1 @@ -ConfigFile#f6ceafabe9f8 +https://developer.mbed.org/users/flowh/code/ConfigFile/#f6ceafabe9f8
--- a/DefinitionIO.h Sat Feb 13 14:29:40 2016 +0000 +++ b/DefinitionIO.h Sat Feb 13 14:48:40 2016 +0000 @@ -83,7 +83,7 @@ { TickUpdate.attach(&Update, SavePeriod); //starting the infinit loop printf("\n\r"); - printf("Moth logger V2.0\n\r"); + printf("DISCO logger V2.0\n\r"); printf("----------------\n\r\n\r"); EnregistrementEnCours=false; @@ -94,6 +94,7 @@ //Mount the filesystem sd.mount(); printf("File system mounted\n\r"); + printf("Toggle switch to start recording\n\r"); /* AIn[0]=&AIn0; AIn[1]=&AIn1;
--- a/GYRO_DISCO_L476VG.lib Sat Feb 13 14:29:40 2016 +0000 +++ b/GYRO_DISCO_L476VG.lib Sat Feb 13 14:48:40 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST/code/GYRO_DISCO_L476VG/#504155ed5862 +https://developer.mbed.org/users/flowh/code/GYRO_DISCO_L476VG/#504155ed5862
--- a/main.cpp Sat Feb 13 14:29:40 2016 +0000 +++ b/main.cpp Sat Feb 13 14:48:40 2016 +0000 @@ -1,12 +1,13 @@ /* -------------------------------------------------------- - MothLogger + DISCOLogger +for DISCO-L476VG Version 2.0 February 12th 2016 Florent HADDAD -Save on SD card +Save on SD card at up to at least 100Hz Acceleration, Gyroscope, Compass @@ -20,6 +21,10 @@ Green led blinks during log +Requires on sdcard file "index.txt" with folowing line : Index=0 +Index.txt defines the next file index name to be written. +Value written in Index.txt will change after each log. + tested up to 100Hz acquisition frequency For any unknown reason, may need to be downloaded twice to run properly !