v2019
Dependencies: CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Dependents: Codeprincipal_2019 CRAC-Strat_2019
Diff: Robots/Strategie_big.cpp
- Revision:
- 11:ed13a480ddca
- Parent:
- 9:d0042422d95a
- Child:
- 12:14729d584500
--- a/Robots/Strategie_big.cpp Fri Apr 29 09:14:27 2016 +0000 +++ b/Robots/Strategie_big.cpp Mon May 02 19:40:59 2016 +0000 @@ -75,7 +75,7 @@ AX12_register(13, AX12_SERIAL2); AX12_register(1, AX12_SERIAL2); - runRobotTest(); + //runRobotTest(); } /****************************************************************************************/ @@ -108,10 +108,18 @@ switch(id) { case 1: - - break; + strcpy(cheminFileStart,"/local/strat1.txt"); + return FileExists(cheminFileStart); + case 2: + strcpy(cheminFileStart,"/local/strat2.txt"); + return FileExists(cheminFileStart); + case 3: + strcpy(cheminFileStart,"/local/strat3.txt"); + return FileExists(cheminFileStart); + default: + strcpy(cheminFileStart,"/local/strat.txt"); + return 0; } - return 0; } #endif