Programme carte strategie (disco)

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Committer:
Sitkah
Date:
Fri Apr 06 13:47:19 2018 +0000
Revision:
29:41e02746041d
Parent:
18:cc5fec34ed9c
Child:
30:a1e37af4bbde
version fusionn?e

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 0:ad97421fb1fb 1 #include "mbed.h"
Sitkah 29:41e02746041d 2 #include <CAN.h>
Sitkah 29:41e02746041d 3 #include <DirHandle.h>
Sitkah 29:41e02746041d 4 #include "SDFileSystem.h"
Sitkah 29:41e02746041d 5
Sitkah 29:41e02746041d 6 #include "Config_big.h"
antbig 0:ad97421fb1fb 7 #include "constantes.h"
antbig 0:ad97421fb1fb 8 #include "ident_crac.h"
Sitkah 29:41e02746041d 9 #include "Instruction.h"
Sitkah 29:41e02746041d 10 #include "Strategie.h"
Sitkah 29:41e02746041d 11 #include "lecture_repertoire.h"
Sitkah 29:41e02746041d 12 #include "StrategieManager.h"
Sitkah 29:41e02746041d 13 #include "SerialHalfDuplex.h"
antbig 0:ad97421fb1fb 14 #include "Display.h"
antbig 0:ad97421fb1fb 15 #include "debug.h"
antbig 0:ad97421fb1fb 16 #include "Asservissement.h"
Sitkah 29:41e02746041d 17 #include "TS_DISCO_F469NI.h"
Sitkah 29:41e02746041d 18 #include "LCD_DISCO_F469NI.h"
Sitkah 29:41e02746041d 19 #include "fonts.h"
Sitkah 29:41e02746041d 20 #include "F469_GUI.hpp"
ClementBreteau 14:c8fc06c4887f 21 #include "Telemetre.h"
Sitkah 29:41e02746041d 22 #include "Config_small.h"
Sitkah 29:41e02746041d 23 #include "Config_big.h"
Sitkah 29:41e02746041d 24 #include "liaison_bluetooth.h"
Sitkah 29:41e02746041d 25
Sitkah 29:41e02746041d 26 //#include "peripheriques.h"
antbig 0:ad97421fb1fb 27
antbig 0:ad97421fb1fb 28 extern CAN can1;
Sitkah 29:41e02746041d 29 extern CAN can2;
antbig 0:ad97421fb1fb 30 extern CANMessage msgRxBuffer[SIZE_FIFO];
antbig 0:ad97421fb1fb 31 extern unsigned char FIFO_ecriture;
Sitkah 29:41e02746041d 32 extern char strat_sd[10][SIZE+8];
Sitkah 29:41e02746041d 33 extern char PATH[10][SIZE+8];
Sitkah 29:41e02746041d 34
Sitkah 29:41e02746041d 35 extern signed char Strategie;
Sitkah 29:41e02746041d 36
Sitkah 29:41e02746041d 37 extern int ack_bluetooth;
antbig 0:ad97421fb1fb 38
antbig 8:0edc7dfb7f7e 39 extern DigitalOut led1,led2,led3,led4;
antbig 0:ad97421fb1fb 40
antbig 0:ad97421fb1fb 41 extern char cheminFileStart[SIZE+8]; //Le chemin du fichier de strat, utiliser strcpy(cheminFileStart,"/local/strat.txt");
Sitkah 29:41e02746041d 42
Sitkah 29:41e02746041d 43
antbig 0:ad97421fb1fb 44 extern struct S_Instruction strat_instructions[SIZE_BUFFER_FILE]; //La liste des instruction chargé en mémoire
antbig 0:ad97421fb1fb 45 extern unsigned char nb_instructions; //Le nombre d'instruction dans le fichier de strategie
antbig 0:ad97421fb1fb 46 extern unsigned char actual_instruction;//La ligne de l'instruction en cours d'execution
antbig 0:ad97421fb1fb 47
ClementBreteau 18:cc5fec34ed9c 48 extern unsigned short telemetreDistance;
ClementBreteau 18:cc5fec34ed9c 49
antbig 1:116040d14164 50 extern unsigned char InversStrat;//Si à 1, indique que l'on part de l'autre cote de la table(inversion des Y)
antbig 1:116040d14164 51
antbig 1:116040d14164 52 extern unsigned short waitingAckID;//L'id du ack attendu
antbig 1:116040d14164 53 extern unsigned short waitingAckFrom;//La provenance du ack attendu
Sitkah 29:41e02746041d 54 extern char modeTelemetre; // Si à 1, indique que l'on attend une reponse du telemetre
Sitkah 29:41e02746041d 55
Sitkah 29:41e02746041d 56