Révision 253
Ajouté par anfichot1 il y a plus de 6 ans
branch/fichot/Emb_App/SessionM32C_E8a_system.ini | ||
---|---|---|
[Target]
|
||
M32C E8a SYSTEM=Renesas Communications
|
||
[USER_DATA]
|
||
RESET=ff0018
|
||
RESET=ff001c
|
branch/fichot/Emb_App/programme_principal_etud.c | ||
---|---|---|
// correspondant au nom du v?hicule si le nom se termine par '*'
|
||
|
||
|
||
int k=4;
|
||
int k=5;
|
||
int k2=1;
|
||
int vitesse = 30;
|
||
|
||
... | ... | |
{
|
||
CanFrame comm;
|
||
CanFrame req, reponse;
|
||
unsigned short consigne = 715;
|
||
unsigned short consigne = 710;
|
||
unsigned short distance;
|
||
short rot;
|
||
|
||
... | ... | |
comm.data.id='D'; comm.data.rtr=0; comm.data.val=0;
|
||
snd_dtq (CanTx,comm.msg);
|
||
}
|
||
dly_tsk(20);
|
||
dly_tsk(10);
|
||
|
||
|
||
}
|
||
... | ... | |
ports_mcu();
|
||
lcd_init();
|
||
periph_init();
|
||
periph_nom("#fich*");
|
||
periph_nom("#louloute*");
|
||
can_init();
|
||
clavier_init(1);
|
||
capture_init();
|
Formats disponibles : Unified diff
fin de séance 2 : capteurs à poser pour la prochaine fois pour réaliser le saut rouge