Test

Dependencies:   mbed DRV8825

pins.h

Committer:
g0dd4
Date:
2020-10-28
Revision:
26:4670968fbc63
Parent:
22:f891c2bce091

File content as of revision 26:4670968fbc63:

/* #include */
#include "mbed.h"
#include "DRV8825.h"

#include <string.h> 
#include <math.h>  
#include "debug.h"
#include "captUS.h"
#include "motors.h"
#include "odo_asserv.h"
#include "Flag.h"

/* #define */
//#define _PI_ 3.14159265359

/* extern */
extern DigitalOut Led;
extern DigitalIn Tirette;
extern InterruptIn BtnBlue;

extern DigitalOut trigger;
extern InterruptIn echo1;
extern InterruptIn echo2;
extern InterruptIn echo3;
extern InterruptIn echo4;
extern InterruptIn echo5;
extern InterruptIn echo6;

extern DigitalOut mode_M0;
//extern DigitalOut mode_M1;
//extern DigitalOut mode_M2;
extern DRV8825 drvGauche; 
extern DRV8825 drvDroite; 

extern InterruptIn cdgA;
extern DigitalIn cdgB;
extern InterruptIn cddA;
extern DigitalIn cddB;