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@2:73e8dca28f51, 2019-06-17 (annotated)
- Committer:
- Couscousiste
- Date:
- Mon Jun 17 11:12:06 2019 +0000
- Revision:
- 2:73e8dca28f51
- Parent:
- 1:96ef3513d0d5
Labyrinthe
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joehatier | 0:1a801a2a7b4b | 1 | #ifndef FONCTION_H |
joehatier | 1:96ef3513d0d5 | 2 | |
joehatier | 1:96ef3513d0d5 | 3 | |
joehatier | 1:96ef3513d0d5 | 4 | #include "SRF05.h" |
joehatier | 1:96ef3513d0d5 | 5 | |
joehatier | 0:1a801a2a7b4b | 6 | extern Ticker TI; |
joehatier | 0:1a801a2a7b4b | 7 | extern InterruptIn ENCODEUR_G ; |
joehatier | 0:1a801a2a7b4b | 8 | extern DigitalIn ENCODEUR_D ; |
joehatier | 0:1a801a2a7b4b | 9 | extern PwmOut PWMG; |
joehatier | 0:1a801a2a7b4b | 10 | extern PwmOut PWMD; |
joehatier | 0:1a801a2a7b4b | 11 | extern DigitalIn BPG; |
joehatier | 0:1a801a2a7b4b | 12 | extern DigitalIn BPD; |
joehatier | 0:1a801a2a7b4b | 13 | extern DigitalOut SensG; //Sens Gauche |
joehatier | 0:1a801a2a7b4b | 14 | extern DigitalOut SensD; //Sens Droite |
joehatier | 0:1a801a2a7b4b | 15 | extern AnalogIn CPTG; |
joehatier | 0:1a801a2a7b4b | 16 | extern AnalogIn CPTD; |
joehatier | 0:1a801a2a7b4b | 17 | extern AnalogIn BAT; |
Couscousiste | 2:73e8dca28f51 | 18 | extern SRF05 SRFA; |
Couscousiste | 2:73e8dca28f51 | 19 | extern SRF05 SRFC; |
joehatier | 0:1a801a2a7b4b | 20 | |
joehatier | 0:1a801a2a7b4b | 21 | |
joehatier | 0:1a801a2a7b4b | 22 | void roule_motdroit (int, int); |
joehatier | 0:1a801a2a7b4b | 23 | void roule_motgauche (int, int); |
joehatier | 0:1a801a2a7b4b | 24 | void increment (void); |
joehatier | 0:1a801a2a7b4b | 25 | void calcul_vit (void); |
joehatier | 0:1a801a2a7b4b | 26 | |
joehatier | 0:1a801a2a7b4b | 27 | |
joehatier | 0:1a801a2a7b4b | 28 | #endif |