v2019

Dependencies:   CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Dependents:   Codeprincipal_2019 CRAC-Strat_2019

Committer:
antbig
Date:
Wed Apr 27 13:05:03 2016 +0000
Revision:
8:0edc7dfb7f7e
Parent:
3:19f2285a4757
Child:
14:c8fc06c4887f
D?but des actions du gros robot

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"
antbig 3:19f2285a4757 5 #include "AX12-V2.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"
antbig 0:ad97421fb1fb 11
antbig 0:ad97421fb1fb 12 extern CAN can1;
antbig 0:ad97421fb1fb 13 extern CANMessage msgRxBuffer[SIZE_FIFO];
antbig 0:ad97421fb1fb 14 extern unsigned char FIFO_ecriture;
antbig 0:ad97421fb1fb 15
antbig 8:0edc7dfb7f7e 16 extern DigitalOut led1,led2,led3,led4;
antbig 0:ad97421fb1fb 17
antbig 0:ad97421fb1fb 18 extern char cheminFileStart[SIZE+8]; //Le chemin du fichier de strat, utiliser strcpy(cheminFileStart,"/local/strat.txt");
antbig 0:ad97421fb1fb 19 extern struct S_Instruction strat_instructions[SIZE_BUFFER_FILE]; //La liste des instruction chargé en mémoire
antbig 0:ad97421fb1fb 20 extern unsigned char nb_instructions; //Le nombre d'instruction dans le fichier de strategie
antbig 0:ad97421fb1fb 21 extern unsigned char actual_instruction;//La ligne de l'instruction en cours d'execution
antbig 0:ad97421fb1fb 22
antbig 1:116040d14164 23 extern unsigned char InversStrat;//Si à 1, indique que l'on part de l'autre cote de la table(inversion des Y)
antbig 1:116040d14164 24
antbig 1:116040d14164 25 extern unsigned short waitingAckID;//L'id du ack attendu
antbig 1:116040d14164 26 extern unsigned short waitingAckFrom;//La provenance du ack attendu