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: SDFileSystem_conMOD mbed-rtos mbed
Fork of f4_sd_imu_4 by
Diff: main.cpp
- Revision:
- 5:52d527a45a30
- Parent:
- 4:58e4283f9a59
- Child:
- 6:f689244d5d33
--- a/main.cpp Wed Nov 22 21:45:19 2017 +0000 +++ b/main.cpp Sat Nov 25 17:42:56 2017 +0000 @@ -24,11 +24,11 @@ //stampaFile("A1xxxxoooooggggggeeeeeeerrrryyyyynhgrgr#2\r\n"); fprintf(fp, "A1xxxxoooooggggggeeeeeeerrrryyyyynhgrgr#2\r\n"); timer.stop(); - if(timer.read_ms()>100){ + if(timer.read_ms()>20){ printf("tempo: %f\n\r", timer.read()); } else{ - wait_ms(100-timer.read_ms()); + wait_ms(20-timer.read_ms()); } timer.reset(); if (mybutton == 0) {