Liaison Série One-Wire ou 1-wire arduino  DS18B20

Liaison Série One-Wire ou 1-wire arduino DS18B20

Christian Ducros

3 года назад

419 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Nathan David
Nathan David - 12.05.2022 15:23

Bonjour,
Est il possible d'avoir le code en fichier texte ?
Merci

Ответить
Pierre KNIDLER
Pierre KNIDLER - 04.04.2022 10:46

Bonjour
J'ai tapé le code mais j'ai une erreur
//Extraction et calcul de la température
temperature =((data[1]<<8)| data[0])*0.0625;

if(ds1820.crc8(data,8)==data[8])
{
return temperature;
}
else return;
}
exit status 1


return-statement with no value, in function returning 'float' [-fpermissive]
Ce programme m'intéresse car il permet d'identifié les sondes
Vous auriez le code SVP
merci par avance

Ответить
Jeffery Cook
Jeffery Cook - 01.12.2020 07:53

Nice channel, just subbed! This deserves more views, I think you should use SMZeus . c o m to increase your social proof.

Ответить