Revision 252 branch/sotty/Emb_App/programme_principal_etud.c

View differences:

programme_principal_etud.c
148 148
short vit_roue = 15;
149 149
short K_roue = 1;
150 150
short ang_roue = 0;
151
short capteur = 0;
151 152

  
152

  
153 153
char num_piste;
154 154

  
155 155

  
......
191 191
	else {
192 192
		ang_roue = K_roue*(distance_mur-500);
193 193
	}
194
	capteur = send_requete(INFO_CAPTEUR);
195
	if(capteur == 0x6301){
196
		ang_roue = 0;	
197
		vit_roue = 50;
198
	}
199
	
194 200
}
195 201

  
196 202
void asserv_roue(VP_INT stacd){
......
289 295
	ports_mcu();
290 296
    lcd_init();
291 297
	periph_init();
292
	periph_nom("#AutoTest*");
298
	periph_nom("#Camobile*");
293 299

  
294 300
    can_init();
295 301
    clavier_init(1);

Also available in: Unified diff