#include <LiquidCrystal_I2C.h>
#include <Wire.h>
#include <HX711_ADC.h>
HX711_ADC LoadCell (6,7);
LiquidCrystal_I2C lcd(0x27,16,2);
void setup () {
LoadCell.begin();
LoadCell.start(1000);
LoadCell.setCalFactor(420.000);
lcd.begin(16,2);
lcd.backlight ();
}
void loop () {
LoadCell.update();
float i = LoadCell.getData();
lcd.setCursor(0,0);
lcd.print("Berat [kg]:");
lcd.setCursor(0,1);
lcd.print (i);
}