From fe0e298c5b84e6b051fbc61fb826514f3da01c94 Mon Sep 17 00:00:00 2001 From: schodet Date: Thu, 11 Mar 2004 17:07:07 +0000 Subject: 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). --- 2004/n/asserv/src/motor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to '2004/n/asserv/src/motor.h') 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); -- cgit v1.2.3