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