From 62a02fe8a06256287218d71cfec16e0135d0e998 Mon Sep 17 00:00:00 2001 From: pgp Date: Fri, 5 Feb 2021 17:49:40 +0100 Subject: [PATCH] test --- src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9d1d656..a4b9ac7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -188,12 +188,12 @@ void compte_tour() { int diff_count = count - old_count; vRotReel = (60000*diff_count/(pptr*offset)); //vitesse en tours par min (4 pulsations /tour, 2 montantes, 2 descendantes) old_count = count; - Serial.println("count ="); - Serial.println(count); + //Serial.println("count ="); + //Serial.println(count); //Serial.println("chrono_compte_tour="); //Serial.println(chrono_compte_tour); - Serial.println("vRrotReel="); - Serial.println(vRotReel); + //Serial.println("vRrotReel="); + //Serial.println(vRotReel); gaz_moteur();// ajustement des gaz en fonction de la vitesse mesurée sema_compte_tour = false; } @@ -320,7 +320,7 @@ void sd_init() { } now = rtc.now(); - char date_format[12] = "MM-DD-hh-mm"; + char date_format[] = "DDhhmm"; char *date = now.toString(date_format); strcat(fichier,date); char entete[64] = "# YY-MM-DD:hh:mm:ss Vrot en tr/min \n";