welcome to the arduino-forum.
You should post your code inside so called code-tags as a code-section
The code you have posted is not a complete sketch.
Here is a tutorial how to post code as a code-section
This is a demo-code for HX711 based loadcells which prints to the serial monitor.
to what IO-pins do you have connected clock and datapin of the HX711-module?
post a hand drawn schematic what is connected to what
//
// FILE: HX_kitchen_scale.ino
// AUTHOR: Rob Tillaart
// PURPOSE: HX711 demo
// URL: https://github.com/RobTillaart/HX711
#include "HX711.h"
HX711 scale;
uint8_t dataPin = 6;
uint8_t clockPin = 7;
void setup() {
Serial.begin(115200);
Serial.println(__FILE__);
Serial.print("LIBRARY VERSION: ");
Serial.println(HX711_LIB_VERSION);
Serial.println();
scale.begin(dataPin, clockPin);
Serial.print("UNITS: ");
Serial.println(scale.get_units(10));
Serial.println("\nEmpty the scale, press a key to continue");
while(!Serial.available());
while(Serial.available()) Serial.read();
scale.tare();
Serial.print("UNITS: ");
Serial.println(scale.get_units(10));
Serial.println("\nPut 1000 gram in the scale, press a key to continue");
while(!Serial.available());
while(Serial.available()) Serial.read();
scale.calibrate_scale(1000, 5);
Serial.print("UNITS: ");
Serial.println(scale.get_units(10));
Serial.println("\nScale is calibrated, press a key to continue");
// Serial.println(scale.get_scale());
// Serial.println(scale.get_offset());
while(!Serial.available());
while(Serial.available())
Serial.read();
}
void loop()
{
Serial.print("UNITS: ");
Serial.println(scale.get_units(10));
delay(250);
}