carte_strategie_2019

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Committer:
ClementBreteau
Date:
Thu May 11 12:55:52 2017 +0000
Revision:
15:c2fc239e85df
Parent:
14:c8fc06c4887f
Child:
16:7321fb3bb396
crac strat le 11/05/17

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 0:ad97421fb1fb 1 #include "mbed.h"
antbig 0:ad97421fb1fb 2 #include "constantes.h"
antbig 0:ad97421fb1fb 3 #include "ident_crac.h"
antbig 0:ad97421fb1fb 4 #include "Display.h"
ClementBreteau 15:c2fc239e85df 5 #include "AX12.h"
antbig 0:ad97421fb1fb 6 #include "Instruction.h"
antbig 0:ad97421fb1fb 7 #include "debug.h"
antbig 0:ad97421fb1fb 8 #include "Asservissement.h"
antbig 0:ad97421fb1fb 9 #include "StrategieManager.h"
antbig 0:ad97421fb1fb 10 #include "Strategie.h"
ClementBreteau 14:c8fc06c4887f 11 #include "Telemetre.h"
antbig 0:ad97421fb1fb 12
antbig 0:ad97421fb1fb 13 extern CAN can1;
antbig 0:ad97421fb1fb 14 extern CANMessage msgRxBuffer[SIZE_FIFO];
antbig 0:ad97421fb1fb 15 extern unsigned char FIFO_ecriture;
antbig 0:ad97421fb1fb 16
antbig 8:0edc7dfb7f7e 17 extern DigitalOut led1,led2,led3,led4;
antbig 0:ad97421fb1fb 18
antbig 0:ad97421fb1fb 19 extern char cheminFileStart[SIZE+8]; //Le chemin du fichier de strat, utiliser strcpy(cheminFileStart,"/local/strat.txt");
antbig 0:ad97421fb1fb 20 extern struct S_Instruction strat_instructions[SIZE_BUFFER_FILE]; //La liste des instruction chargé en mémoire
antbig 0:ad97421fb1fb 21 extern unsigned char nb_instructions; //Le nombre d'instruction dans le fichier de strategie
antbig 0:ad97421fb1fb 22 extern unsigned char actual_instruction;//La ligne de l'instruction en cours d'execution
antbig 0:ad97421fb1fb 23
antbig 1:116040d14164 24 extern unsigned char InversStrat;//Si à 1, indique que l'on part de l'autre cote de la table(inversion des Y)
antbig 1:116040d14164 25
antbig 1:116040d14164 26 extern unsigned short waitingAckID;//L'id du ack attendu
antbig 1:116040d14164 27 extern unsigned short waitingAckFrom;//La provenance du ack attendu
ClementBreteau 15:c2fc239e85df 28 extern char modeTelemetre; // Si à 1, indique que l'on attend une reponse du telemetre