Révision 480
Ajouté par piduvernoi il y a plus de 6 ans
branch/duvernois/Emb_App/programme_principal_etud.c | ||
---|---|---|
|
||
if (cpt2==3 && cpt1!=0)
|
||
{
|
||
Valvitesse=0;
|
||
|
||
consignevitesse=0;
|
||
comm.data.id='V';
|
||
comm.data.rtr=0;
|
||
comm.data.val=consignevitesse;
|
||
snd_dtq (CanTx,comm.msg);
|
||
dly_tsk(250);
|
||
|
||
ter_tsk(ID_Depart);
|
||
ter_tsk(ID_Piste);
|
||
ter_tsk(ID_tourelle);
|
||
... | ... | |
ter_tsk(ID_rouge);
|
||
ter_tsk(ID_noir);
|
||
ter_tsk(ID_vitesse);
|
||
ter_tsk(ID_periph_tx);
|
||
ter_tsk(ID_periph_rx);
|
||
ter_tsk(ID_periph_tx);
|
||
|
||
}
|
||
|
||
consignevitesse=Valvitesse;
|
Formats disponibles : Unified diff
Programme final avec arret communication 3 tours