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.
Diff: Initialisation.cpp
- Revision:
- 0:af7247fcd74c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Initialisation.cpp Sun Jun 15 15:32:04 2014 +0000
@@ -0,0 +1,25 @@
+#include "mbed.h"
+
+extern float TemporisationDemarreur,commandeLimite,comptDem,vitesseMin;
+extern int courantLim;
+extern int tensionMin, tensionMax;
+extern char Etat;
+extern int compteur_Demarreur,compteur_Tempo;
+extern int tour;
+extern char demInfini,infini;
+
+void Initialisation() {
+ //mise des valeur par défaut de tout les reglage et a 0 les variables
+ tensionMin = 75;
+ tensionMax = 80;
+ courantLim=40;
+ TemporisationDemarreur=3;
+ commandeLimite=60;
+ comptDem=0;
+ vitesseMin=0;
+ Etat=0;
+ compteur_Demarreur=0;
+ compteur_Tempo=0;
+ infini=0;
+ tour=0;
+}
\ No newline at end of file