Programme carte strategie (disco)
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Globals/global.h
- Committer:
- antbig
- Date:
- 2016-04-15
- Revision:
- 1:116040d14164
- Parent:
- 0:ad97421fb1fb
- Child:
- 3:19f2285a4757
File content as of revision 1:116040d14164:
#include "mbed.h" #include "AX12-V2.h" #include "constantes.h" #include "ident_crac.h" #include "Display.h" #include "Instruction.h" #include "debug.h" #include "Asservissement.h" #include "StrategieManager.h" #include "Strategie.h" extern CAN can1; extern CANMessage msgRxBuffer[SIZE_FIFO]; extern unsigned char FIFO_ecriture; extern DigitalOut led1,led2; 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 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