From a64ff3f0cfa8c4dac14936ca98ddb1bda2b05ec4 Mon Sep 17 00:00:00 2001 From: pgp Date: Fri, 22 Jan 2021 10:37:46 +0100 Subject: [PATCH] tests --- src/main.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 58332b0..3c08825 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,6 +73,22 @@ const char *ssid = "IFV-Sporix"; // SSID const char *password = "12345678"; // PASSWORD, 8 caractères minimum WiFiServer server(80); // port du serveur +////////////////// +/// PROTOTYPES /// +////////////////// +void vigie_Wifi(); +void wifi_AP(); +void start_wifiAP(); +void rtc_init(); +void scribe_sd (); +void sd_init(); +void compte_tour(); +void stop_compteur(); +void start_compteur(); +void stop_moteur(); +void gaz_moteur(); +void start_moteur(); + //////////////////////////// /// FONCTION CODE ERREUR /// //////////////////////////// @@ -97,7 +113,6 @@ void errorCode(int codeNumber) { void start_moteur() { ESP32PWM::allocateTimer(2); - delay(500); moteur.setPeriodHertz(50); moteur.attach(moteurPin, minUs, maxUs); delay(15);