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.
Initialisation.cpp
- Committer:
- arn_beauclair
- Date:
- 2014-06-15
- Revision:
- 0:af7247fcd74c
File content as of revision 0:af7247fcd74c:
#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;
}