summaryrefslogtreecommitdiff
path: root/2004/n/asserv/src/motor.h
diff options
context:
space:
mode:
authorschodet2004-03-11 17:07:07 +0000
committerschodet2004-03-11 17:07:07 +0000
commitfe0e298c5b84e6b051fbc61fb826514f3da01c94 (patch)
tree4b1f08c77635e4c334f2534241a3e3e9ac7b3ce8 /2004/n/asserv/src/motor.h
parentc5655844e7e52f83c00fbfe9f717e007e2b532fc (diff)
Passage à 40MHz.
Utilisation du troisième compteur (non ! ils utilisent la même source !). Calcul du PID dans la boucle principale. Correction d'un bug dans le transfert serie (enable_interrupt trops tôt).
Diffstat (limited to '2004/n/asserv/src/motor.h')
-rw-r--r--2004/n/asserv/src/motor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/2004/n/asserv/src/motor.h b/2004/n/asserv/src/motor.h
index be29c03..d19bc4f 100644
--- a/2004/n/asserv/src/motor.h
+++ b/2004/n/asserv/src/motor.h
@@ -82,6 +82,10 @@ EXT1_isr();
#int_TIMER2
TIMER2_isr ();
+/* Boucle principale. */
+void
+motor_main (void);
+
/* Traite une entrée série. */
short
motor_parse (void);