pixy info2

Dependencies:   CMPS03 SRF05 mbed pixy

Fork of 0000Non_stop_code_v3 by Alexandre Pirotte

Revision:
1:99f469d63b9a
Parent:
0:a8cee96c9250
Child:
2:48f7e5f79caa
--- a/globals.cpp	Sat Jun 10 04:58:21 2017 +0000
+++ b/globals.cpp	Sat Jun 10 07:20:21 2017 +0000
@@ -27,6 +27,8 @@
 InterruptIn I_D(p30);
 InterruptIn I_G(p29);
 
+Timer tempo2;
+
 SPI spi(p5,p6,p7);
 
 AnalogIn C1(p15);// capteur de ligne blanche 1
@@ -40,7 +42,7 @@
 int j=0,etat=0;
 uint16_t blocks;
 float taille,errorX,gBoussole,cap_set,cap_rot;
-int captL1,bout;
+int captL1,bout,flag;
 int captL3;
-float us_arriere;
+float us_arriere,cap_arriere,erreur_ar;
 Timer tempo;
\ No newline at end of file