If the library fails completely, consider the alternative below.
To use the HX711 library in Proteus, follow these general steps: hx711 proteus library
void loop() float weight = scale.get_units(5); Serial.print("Weight: "); Serial.print(weight, 1); Serial.println(" g"); delay(500); If the library fails completely, consider the alternative