coucou bob

Dependencies:   mbed

fct.h

Committer:
pirottealex
Date:
2018-12-17
Revision:
0:e9a025a937b4

File content as of revision 0:e9a025a937b4:

#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