Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5061

Français • Re: gpio c++

$
0
0
salut

avant clean

BB_DS18B20.cpp BB_DS18B20.o gainable gainable.o gpioPin.hpp gpioPin.o Makefile
BB_DS18B20.hpp DS18B20.conf gainable.cpp gpioPin.cpp gpioPinlib.a LICENSE.TXT

donc quand je fait un make clean

BB_DS18B20.cpp DS18B20.conf gpioPin.cpp gpioPinlib.a Makefile
BB_DS18B20.hpp gainable.cpp gpioPin.hpp LICENSE.TXT

je n'arrive pas a démarrer mon programme avec ./gainable dans le terminal

pour : loadDSConfig("DS18B20.conf", ds_ID);
il est a la ligne 761 je sais que cela ne change pas ;
c'est pour le reste

et le rem std::cout << "config DS\n";
// charge info sur les ds18b20
char ficConf[654] = "DS18B20.conf";
FILE * confHan = fopen(ficConf, "r");
if (NULL == confHan) {
std::cout <<
"Le fichier de configuration \n" << ficConf << "\n doit exister\n";
return (111);
}
fclose(confHan);
loadDSConfig("DS18B20.conf", ds_ID); // protégé contre le cas où il est absent
std::cout << "\n configuré\n";
if (ds_ID.size() < 2) {
std::cout << "\nVous devez avoir au moins un thermomètre\n";
return(112);
}


return (111) 111 ???
return(112) 112 ???
pour l'instant je ne trouve pas de ralentissement au niveau du fonctionnement des tempos !
je regarde quand meme "difftime"

Statistics: Posted by ludoraspberry — Mon Feb 12, 2024 1:51 pm



Viewing all articles
Browse latest Browse all 5061

Trending Articles