MoJo / ER2_Robot_gnuarmeclipse_lpc1768

Dependencies:   mbed

Committer:
Couscousiste
Date:
Mon Jun 17 11:12:06 2019 +0000
Revision:
2:73e8dca28f51
Parent:
1:96ef3513d0d5
Labyrinthe

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
Couscousiste 2:73e8dca28f51 6 SRF05 SRFC(p8,p16);//Trig puis echo
Couscousiste 2:73e8dca28f51 7 SRF05 SRFA(p17,p18);
joehatier 1:96ef3513d0d5 8 DigitalOut SensG(p12);//Sens Gauche
joehatier 1:96ef3513d0d5 9 DigitalOut SensD(p11);//Sens Droite
joehatier 1:96ef3513d0d5 10 PwmOut PWMG(p23); //Sortie moteur gauche
joehatier 1:96ef3513d0d5 11 PwmOut PWMD(p22); //Sortie moteur droit
joehatier 1:96ef3513d0d5 12 DigitalIn BpD(p29);
joehatier 1:96ef3513d0d5 13 DigitalIn BpG(p30);
joehatier 1:96ef3513d0d5 14 AnalogIn CPTG (p20);
joehatier 1:96ef3513d0d5 15 AnalogIn CPTD (p19);
joehatier 1:96ef3513d0d5 16 AnalogIn BAT (p15);