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
Diff: ER2_Robot/fonction.h
- Revision:
- 0:1a801a2a7b4b
- Child:
- 1:96ef3513d0d5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ER2_Robot/fonction.h Fri Feb 15 15:25:57 2019 +0000 @@ -0,0 +1,24 @@ +#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 \ No newline at end of file