Code principal du projet

Dependencies:   mbed DRV8825

debug.h

Committer:
Nanaud
Date:
2020-11-03
Revision:
26:bb2b778bd351
Parent:
22:f891c2bce091

File content as of revision 26:bb2b778bd351:

// Nom du fichier : debugPC.h

// #define
#define Lcmd 4 // Longueurs des commandes pour le debug

// extern
extern Serial pc;
extern Serial bt;
extern Ticker Ticker_affUS;

extern bool aff_US[6];
extern bool aff_cd[4];
extern bool aff_odo[3];
extern int cmdType;

// Prototypes
void serialIT();
void bluetoothIT();
void copieTab(char *tab1,char *tab2);
void cmdChoice(char *cmd);

void StringToAngle(char *cmd);
void StringToVitesse(char *cmd);
void StringToDist(char *cmd);
void affUltrasons();
void affCodeurs();
void affOdo();