Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CRAC-Strat_2017_homologation_petit_rob by
Globals/global.h
- Committer:
- ClementBreteau
- Date:
- 2017-05-22
- Revision:
- 18:cc5fec34ed9c
- Parent:
- 16:7321fb3bb396
File content as of revision 18:cc5fec34ed9c:
#include "mbed.h"
#include "constantes.h"
#include "ident_crac.h"
#include "Display.h"
#include "AX12.h"
#include "Instruction.h"
#include "debug.h"
#include "Asservissement.h"
#include "StrategieManager.h"
#include "Strategie.h"
#include "Telemetre.h"
#include "SerialHalfDuplex.h"
#include "peripheriques.h"
extern CAN can1;
extern CANMessage msgRxBuffer[SIZE_FIFO];
extern unsigned char FIFO_ecriture;
extern DigitalOut led1,led2,led3,led4;
extern char cheminFileStart[SIZE+8]; //Le chemin du fichier de strat, utiliser strcpy(cheminFileStart,"/local/strat.txt");
extern struct S_Instruction strat_instructions[SIZE_BUFFER_FILE]; //La liste des instruction chargé en mémoire
extern unsigned char nb_instructions; //Le nombre d'instruction dans le fichier de strategie
extern unsigned char actual_instruction;//La ligne de l'instruction en cours d'execution
extern unsigned short telemetreDistance;
extern unsigned char InversStrat;//Si à 1, indique que l'on part de l'autre cote de la table(inversion des Y)
extern unsigned short waitingAckID;//L'id du ack attendu
extern unsigned short waitingAckFrom;//La provenance du ack attendu
extern char modeTelemetre; // Si à 1, indique que l'on attend une reponse du telemetre
