Programme course fonctionnel Jour J Croisement non pris en charge (tourne en rond)

Dependencies:   MMA8451Q mbed

Fork of Programme_course_30Tr by Freescale_Cachan

Revision:
5:7714a216c91d
Parent:
4:8b0215ec788f
diff -r 8b0215ec788f -r 7714a216c91d Mlib.h
--- a/Mlib.h	Wed Mar 22 14:41:20 2017 +0000
+++ b/Mlib.h	Fri Mar 24 09:29:12 2017 +0000
@@ -6,7 +6,7 @@
 #include "mbed.h"
 #include "MMA8451Q.h"
 #include "motor.h"
-
+        
 #define MMA8451_I2C_ADRESS (0x1d<<1)
 
 #define FRQ_CLK 15000
@@ -15,7 +15,7 @@
 #define BMIDTAB 63
 #define BANDSIZE 4
 #define MIN_INTE 0
-#define MAX_INTE FRQ_CYC-400//500
+#define MAX_INTE FRQ_CYC-500
 #define INCREM_BALANCE 300
 #define MARGE_LIGNE 5
 #define MARGE_DISTANCE_LIGNE 10
@@ -32,6 +32,7 @@
 #define VITESSE 40
 
 #define TAILLE_TAB_INT 5
+#define SEUIL_INT_VIR 50
 /***********************FONCTIONS**********************/
 /**/     /****************CAMERA****************/   /**/
 /**/    void F_GetData();                           /**/