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.
Revision 3:42edde42531b, committed 2022-04-07
- Comitter:
- fdurand
- Date:
- Thu Apr 07 14:49:22 2022 +0000
- Parent:
- 2:03c99cd73da2
- Commit message:
- version 4
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jul 27 12:25:23 2021 +0000
+++ b/main.cpp Thu Apr 07 14:49:22 2022 +0000
@@ -20,7 +20,8 @@
#include <stdio.h>
#define fech 48000 // Fréquence d'échantillonnage souhaitée 48 KHz
-#define taille 3600 // nombre d'enregistrements par fichier (24 heures=86400 secondes)
+#define taille 2880 // nombre d'enregistrements par fichier (24 heures= 2880 pour 2 ech/minutes)
+ // (2880*32bits)/1024 = 90 Ko
Serial pc2(USBTX,USBRX);
@@ -119,6 +120,6 @@
else // Si l'accès au répertoire ne fonctionne pas.
pc2.printf("Impossible d'ouvrir le fichier data.txt\n");
- wait_ms(1000); // attente une seconde
+ wait_ms(30000) // attente 30 secondes
}
}