#include "HX711.h"
#define calibration_factor -7050.0
#define DOUT 3
#define CLK 2
HX711 scale(DOUT, CLK);
void setup() {
Serial.begin(115200);
scale.set_scale(calibration_factor);
scale.tare();
}
void loop(){
Serial.println(scale.get_units(), 1);
delay(1000);
}
The Problem I found was that when sending numerous Serial.print() they somehow mix, so sending a single one fixes the issue, as well as Serial.flush() every 10 repeats helps with the data corruption.