AresENSEA-CDF2020 / Mbed 2 deprecated AresCDFMainCode_capteur_US

Dependencies:   mbed DRV8825

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers debug.h Source File

debug.h

00001 // Nom du fichier : debugPC.h
00002 
00003 // #define
00004 #define Lcmd 4 // Longueurs des commandes pour le debug
00005 
00006 // extern
00007 extern Serial pc;
00008 extern Serial bt;
00009 extern Ticker ticker_affUS;
00010 extern Ticker ticker_affcd;
00011 extern Ticker ticker_affodo;
00012 
00013 extern bool aff_US[6];
00014 extern bool aff_cd[4];
00015 extern bool aff_odo[3];
00016 extern int cmdType;
00017 
00018 // Prototypes
00019 void serialIT();
00020 void bluetoothIT();
00021 void copieTab(char *tab1,char *tab2);
00022 void cmdChoice(char *cmd);
00023 
00024 void StringToAngle(char *cmd);
00025 void StringToVitesse(char *cmd);
00026 void StringToDist(char *cmd);
00027 void affUltrasons();
00028 void affCodeurs();
00029 void affOdo();