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_V2 by
Diff: main.cpp
- Revision:
- 9:d0042422d95a
- Parent:
- 8:0edc7dfb7f7e
- Child:
- 12:14729d584500
diff -r 0edc7dfb7f7e -r d0042422d95a main.cpp
--- a/main.cpp Wed Apr 27 13:05:03 2016 +0000
+++ b/main.cpp Thu Apr 28 08:11:36 2016 +0000
@@ -32,11 +32,11 @@
can1.frequency(1000000); // fréquence de travail 1Mbit/s
can1.attach(&canRx_ISR); // création de l'interrupt attachée à la réception sur le CAN
- //wait_ms(1000);
- //tactile_printf("Initialisation cartes...");
+ wait_ms(1000);
+ tactile_printf("Initialisation cartes...");
initRobot();//Initialisation du robot
- //wait_ms(5000);//Attente pour que toutes les cartes se lancent et surtout le CANBlue
+ wait_ms(5000);//Attente pour que toutes les cartes se lancent et surtout le CANBlue
/**
A retirer lors de l'utilisation avec selecteur de stratégie sur IHM
@@ -45,7 +45,7 @@
//loadAllInstruction();//Mise en cache de toute les instructions
while(true) {
- //automate_process();//Boucle dans l'automate principal
+ automate_process();//Boucle dans l'automate principal
canProcessRx();//Traitement des trames CAN en attente
AX12_doLoop();//Vérification de la position des AX12
}
