MoJo / ER2_Robot_gnuarmeclipse_lpc1768

Dependencies:   mbed

Committer:
joehatier
Date:
Fri May 24 10:57:58 2019 +0000
Revision:
1:96ef3513d0d5
Child:
2:73e8dca28f51
Ligne;

Who changed what in which revision?

UserRevisionLine numberNew 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);