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: mbed
ER2_Robot/fonction.h
- Committer:
- joehatier
- Date:
- 2019-02-15
- Revision:
- 0:1a801a2a7b4b
- Child:
- 1:96ef3513d0d5
File content as of revision 0:1a801a2a7b4b:
#ifndef FONCTION_H
extern Ticker TI;
extern InterruptIn ENCODEUR_G ;
extern DigitalIn ENCODEUR_D ;
extern PwmOut PWMG;
extern PwmOut PWMD;
extern DigitalIn BPG;
extern DigitalIn BPD;
extern DigitalOut SensG; //Sens Gauche
extern DigitalOut SensD; //Sens Droite
extern AnalogIn CPTG;
extern AnalogIn CPTD;
extern AnalogIn BAT;
//extern SRF05 SRF;
void roule_motdroit (int, int);
void roule_motgauche (int, int);
void increment (void);
void calcul_vit (void);
#endif