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:
- Couscousiste
- Date:
- 2019-06-17
- Revision:
- 2:73e8dca28f51
- Parent:
- 1:96ef3513d0d5
File content as of revision 2:73e8dca28f51:
#ifndef FONCTION_H
#include "SRF05.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 SRFA;
extern SRF05 SRFC;
void roule_motdroit (int, int);
void roule_motgauche (int, int);
void increment (void);
void calcul_vit (void);
#endif