diff --git a/library.properties b/library.properties index d83406b..531407f 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=HX711_ADC -version=1.1.0 +version=1.1.1 author=Olav Kallhovd maintainer=Olav Kallhovd sentence=Arduino library for the HX711 24-bit ADC for weight scales diff --git a/src/HX711_ADC.h b/src/HX711_ADC.h index ce0fbbf..99814f0 100644 --- a/src/HX711_ADC.h +++ b/src/HX711_ADC.h @@ -85,7 +85,7 @@ class HX711_ADC bool startStatus; uint8_t convRslt; bool tareStatus; - const unsigned int tareTimeOut = (DATA_SET * 110) + 500; // tare timeout time in ms, no of samples * 110ms (10SPS + 10%) + 500ms margin + unsigned int tareTimeOut = (SAMPLES + IGN_HIGH_SAMPLE + IGN_HIGH_SAMPLE) * 150; // tare timeout time in ms, no of samples * 150ms (10SPS + 50% margin) bool tareTimeoutFlag; bool tareTimeoutDisable = 0; };