Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CRAC-Strat_2017_HOMOLOGATION_PETIT_ROBOT by
Diff: main.cpp
- Revision:
- 13:93edbb03a8c6
- Parent:
- 12:14729d584500
- Child:
- 14:c8fc06c4887f
--- 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
