Test

Dependencies:   mbed DRV8825

pins.h

Committer:
Nanaud
Date:
2020-07-08
Revision:
1:2fe8c402ee79
Parent:
0:dc036b67c87c
Child:
2:094c09903a9c

File content as of revision 1:2fe8c402ee79:

// Nom du fichier : pins.h
#include "mbed.h"
#include "DRV8825.h"

#include <string.h>   
#include "debug.h"
#include "captUS.h"
#include "motors.h"
#include "codeurs.h"   

//Capteurs à ultrasons
extern DigitalOut trigger;
extern InterruptIn echo1;
extern InterruptIn echo2;
extern InterruptIn echo3;
extern InterruptIn echo4;
extern InterruptIn echo5;
extern InterruptIn echo6;

// Drivers DRV8825 
extern BusOut MODE;
extern DRV8825 drvGauche; 
extern DRV8825 drvDroite; 

// Codeurs
extern InterruptIn cdgA;
extern InterruptIn cdgB;
extern InterruptIn cddA;
extern InterruptIn cddB;