carte_strategie_2019
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Diff: main.cpp
- Revision:
- 13:93edbb03a8c6
- Parent:
- 12:14729d584500
- Child:
- 14:c8fc06c4887f
diff -r 14729d584500 -r 93edbb03a8c6 main.cpp --- a/main.cpp Mon May 09 09:10:17 2016 +0000 +++ b/main.cpp Tue Jan 31 16:00:33 2017 +0000 @@ -47,8 +47,10 @@ **/ //strcpy(cheminFileStart,"/local/test.txt");//On ouvre le fichier test.txt //loadAllInstruction();//Mise en cache de toute les instructions - + GoStraight(100, 0, 0, 2); + while(true) { + //void GoStraight (signed short distance,unsigned char recalage, unsigned short newValue, unsigned char isEnchainement) automate_process();//Boucle dans l'automate principal canProcessRx();//Traitement des trames CAN en attente AX12_doLoop();//Vérification de la position des AX12