coucou bob

Dependencies:   mbed

Revision:
0:e9a025a937b4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fct.h	Mon Dec 17 16:50:36 2018 +0000
@@ -0,0 +1,31 @@
+#ifndef FCT_H
+#define FCT_H
+
+
+extern char cmdI2C ;// CS vbat x x x SensG SensD CS_G CD_D, sens moteur positif CS à 0.
+extern PwmOut MotD;
+extern PwmOut MotG;
+
+//GLOBALES
+
+
+extern I2C monI2C;
+
+
+
+
+//CONSTANTES
+#define ADR_PCF 0x70
+#define PERIOD 0.0001
+#define V_max 30
+#define V_recherche 18
+#define K 0.1
+#define V_moy 25
+
+
+//PROTOTYPES
+void vitmoteur(float,float);
+void init(void);
+
+
+#endif