#include <HX711.h>

const int ld_cell = 2;

const int ld_sck = 4;

HX711 scale;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  scale.begin(ld_cell, ld_sck);
}

void loop() {
  if(scale.is_ready())
  {
scale.set_scale();
Serial.println("Tare_remove_weights...");
delay(5000);
scale.tare();
Serial.println("tare done...");
Serial.println("Now put weight...");
delay(5000);
long reading = scale.get_units(10);
Serial.println(reading);
  }
  // put your main code here, to run repeatedly:
  delay(10); // this speeds up the simulation
}
esp:VIN
esp:GND.2
esp:D13
esp:D12
esp:D14
esp:D27
esp:D26
esp:D25
esp:D33
esp:D32
esp:D35
esp:D34
esp:VN
esp:VP
esp:EN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
cell1:VCC
cell1:DT
cell1:SCK
cell1:GND