Revision 39

View differences:

branch/toribio/Emb_App/programme_principal_etud.c
138 138
//Commande vitesse de la tourelle
139 139
comm.data.id='T';
140 140
comm.data.rtr=0; //indique une ?criture
141
comm.data.val=k*(450-alpha);
141
comm.data.val=k*(ad00-alpha);
142 142
snd_dtq(CanTx, comm.msg);
143 143

  
144 144
//lecture de la distance du mur
145
requete.data.id='U';
145
/*requete.data.id='U';
146 146
requete.data.rtr=1; //indique une requete de lecture
147 147
snd_dtq(CanTx, requete.msg);
148 148
rcv_dtq(CanRx, &reponse.msg);
149 149
distance=reponse.data.val;
150
	*/
150 151
	
151 152
	
152
	
153 153
}
154 154

  
155 155

  

Also available in: Unified diff