Load cell sketch errors

Hello, I have an error while running the program for the load cell, although I tried all the library for the HX711. Here is the error
#include "HX711.h"//you muct have this library in your arduino library folder

#define Dout D5
#define CLK D6

HX711 scale (DOUT, CLK);

//change this clabration factor as per your load cell once it is found you many need to vary it in untill it give the correct values
float calibration_factor = -109525; //-106600 worked for my 40Kg max scale setup

//======================================================================================================================================
// SETUP
//======================================================================================================================================
void setup () {
Serial.begin(9600);
Serial.printin("HX711 calibration");
Serial.printIn("Remove all weigtht from scale");
Serial.printIn("After reading begin, place known weight on scale");
Serial.printIn("Press a,s,d,f to increase calibration factor by 10,100,1000,10000 respectively");
Serial.printIn("Press z,x,c,v to decearse calibration factor by 10,100,1000,10000 respectively");
Serial.printIn("Press t for tare");
Scale.set_scale();
Scale.tare(); //Reset the scale to 0

long zero_factor = scale.read_average(); //Get a baseline reading
Serial.print("zero factor: "); //This can be used to remove the need to tare the scale.
Serial.printIn(zero_factor);
}

//====================================================================================================================================
// LOOP
//====================================================================================================================================
void loop (){
scale.set_scale(calibration_factor); //Adjust to this calibration factor

Serial.print(Reading: ");
Serial.print(scale.get_units(), 3);
Seral.print(" kg"); //Change this to kg and re-adjust the calibration factor if you follow SI unit:
Serial.print (" calibration_factor: ");
Serial.print(calibration_factor);
Serial.printIn();

if(Serial.available ())
}

@muda1214

Your post has been split into its own topic because you posted it as a comment to an unrelated topic that was at least 2 months old

Do not hijack topics in this way

what is the error message that you're seeing?

Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

You can go back and fix your original post by highlighting the code and clicking the </> in the menu bar.
code tags new

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.