fdufnews:
Je pense que ce que tu voulais faire c'était plutôt ça;modif_para_ronde[12]=(byte)(stop_ronde>>24);Je crois comprendre que reception est un tableau de byte donc convertir en unsigned long avant de décaler.
stop_ronde=(((unsigned long)reception[12]<<24)+(((unsigned long)reception[13]& 0xFF)<<16)+(((unsigned long)reception[14]& 0xFF)<<8)+((unsigned long)reception[15]& 0xFF))*1000L;
alors alors, problème résolue, les solutions sont les suivante:
modif_para_ronde[12]=byte(stop_ronde>>24);
et
stop_ronde=( long(reception[12]<<24)+long((reception[13]& 0xFF)<<16)+long((reception[14]& 0xFF)<<8)+long(reception[15]& 0xFF))*1000;
[/quote]
voilou
merci beaucoup fdufnews ![]()
Vite fait bien fait =)
Skizo !