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: ADS1015 Faulhaber HTU21D_mod MS5837_potless Sensor_Head_RevB_3 USBDevice_dfu Utilsdfu beep
Fork of ARNSRS_testDFU by
Revision 88:8965483d35c9, committed 2018-09-17
- Comitter:
- potless
- Date:
- Mon Sep 17 13:01:59 2018 +0000
- Parent:
- 87:314231bfaf8f
- Commit message:
- avec mbed-os de github
Changed in this revision
--- a/main.cpp Fri Sep 14 12:20:29 2018 +0000
+++ b/main.cpp Mon Sep 17 13:01:59 2018 +0000
@@ -120,7 +120,7 @@
char to_store[50];
time_t seconds;
char Log_File_Name[] = " ";
-int count = 0;
+int myCount = 0;
int Max_Log_Size = 1800;//1 heure, 1800 lignes donc à multiplier par la fréquence d'enregistrement, Ref_Time, pour voir combien de temps représente un Log...
//Contrôle des servos
@@ -1125,12 +1125,12 @@
//Enregistrement de la chaine
if (FLAG_REC) {
UTILS::Write_Flash_File(to_store, Log_File_Name);
- count ++;
- if (count > Max_Log_Size) {
+ myCount ++;
+ if (myCount > Max_Log_Size) {
Create_File_Name_Index();
//Create_File_Name_Date();
sensors.Create_Header(Log_File_Name);
- count = 0;
+ myCount = 0;
OUTPUT("$\r\n");
wait(0.5);
UTILS::Dir_Flash(&serialMonit);
--- a/mbed-os.lib Fri Sep 14 12:20:29 2018 +0000 +++ b/mbed-os.lib Mon Sep 17 13:01:59 2018 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#8b54959f5bca08a8ad44a701bafd634afbb38b03 +https://github.com/ARMmbed/mbed-os.git/#dd2d15979665a3d70b18cf722ca91caf4e4ee523
--- a/sd-driver-hs.lib Fri Sep 14 12:20:29 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/users/POTLESS_2/code/sd-driver-hs/#f93f1a0417ba
