pixy info2

Dependencies:   CMPS03 SRF05 mbed pixy

Fork of 0000Non_stop_code_v3 by Alexandre Pirotte

Revision:
2:48f7e5f79caa
Parent:
1:99f469d63b9a
--- a/globals.cpp	Sat Jun 10 07:20:21 2017 +0000
+++ b/globals.cpp	Thu Jun 22 09:32:24 2017 +0000
@@ -15,6 +15,9 @@
 InterruptIn echo3(p23);*/
 
 SRF05 us_arr(p8,p24);
+SRF05 us_g(p11,p12);
+SRF05 us_d(p26,p23);
+
 CMPS03 Boussole(p9,p10,0xC0);
 I2C monI2C(p9,p10);
 PwmOut Servo(p21);
@@ -44,5 +47,5 @@
 float taille,errorX,gBoussole,cap_set,cap_rot;
 int captL1,bout,flag;
 int captL3;
-float us_arriere,cap_arriere,erreur_ar;
+float us_arriere,us_gauche,us_droit,cap_arriere,erreur_ar,erreur_av,cap_avant;
 Timer tempo;
\ No newline at end of file