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/globals.cpp@1:96ef3513d0d5, 2019-05-24 (annotated)
- Committer:
- joehatier
- Date:
- Fri May 24 10:57:58 2019 +0000
- Revision:
- 1:96ef3513d0d5
- Child:
- 2:73e8dca28f51
Ligne;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| joehatier | 1:96ef3513d0d5 | 1 | #include "mbed.h" |
| joehatier | 1:96ef3513d0d5 | 2 | #include"SRF05.h" |
| joehatier | 1:96ef3513d0d5 | 3 | #include "fonction.h" |
| joehatier | 1:96ef3513d0d5 | 4 | |
| joehatier | 1:96ef3513d0d5 | 5 | |
| joehatier | 1:96ef3513d0d5 | 6 | SRF05 SRF(p13,p14); |
| joehatier | 1:96ef3513d0d5 | 7 | DigitalOut SensG(p12);//Sens Gauche |
| joehatier | 1:96ef3513d0d5 | 8 | DigitalOut SensD(p11);//Sens Droite |
| joehatier | 1:96ef3513d0d5 | 9 | PwmOut PWMG(p23); //Sortie moteur gauche |
| joehatier | 1:96ef3513d0d5 | 10 | PwmOut PWMD(p22); //Sortie moteur droit |
| joehatier | 1:96ef3513d0d5 | 11 | DigitalIn BpD(p29); |
| joehatier | 1:96ef3513d0d5 | 12 | DigitalIn BpG(p30); |
| joehatier | 1:96ef3513d0d5 | 13 | AnalogIn CPTG (p20); |
| joehatier | 1:96ef3513d0d5 | 14 | AnalogIn CPTD (p19); |
| joehatier | 1:96ef3513d0d5 | 15 | AnalogIn BAT (p15); |