{ Get current temperature (unit is °C/100) }
//t1_val := StringReplace (FloatToStrF(t1.GetTemperature/100 + t1_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
//t2_val := StringReplace (FloatToStrF(t2.GetTemperature/100 + t2_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
t3_val := StringReplace (FloatToStrF(t3.GetTemperature/100 + t3_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
t4_val := StringReplace (FloatToStrF(t4.GetTemperature/100 + t4_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
t5_val := StringReplace (FloatToStrF(t5.GetTemperature/100 + t5_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
t6_val := StringReplace (FloatToStrF(t6.GetTemperature/100 + t6_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
{ get pressure & humidity }
//h1_val := StringReplace (FloatToStrF(h1.GetHumidity/10 + h1_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
//b1_val := StringReplace (FloatToStrF(b1.GetAirPressure/1000 + b1_Korr, ffFixed, 8,2),'.',',',[rfReplaceAll]) ;
If h1 or/and b1 will be (more than 4 brickletts) requested there is an exception:
External: SIGSEGV
...
end;
errorCode := GetErrorCodeFromData(result);
if (errorCode = 0) then begin
...
This occures in all combinations.