| Posted: 04:33am 30 May 2026 |
|
|
|
This addition should do it.
OneWire READ PinNbr, 0, 8, T1,T2,T3,T3,T3,T3,T3,CpC 'get the data Print "T1=";T1,"T2=";T2,"T3=";T3,"CpC=";CpC,, Value = Str2bin(int16,Chr$(T1)+Chr$(T2))\2 -0.25 + (CpC-T3)/CpC 'process the data And note, there were typos in my last post that have been corrected. Edited 2026-05-30 14:36 by phil99 |