Error while using Load Cell amp with Sparkfun LoRa thing plus

Hi,

I’ve got a sparkfun Lora Thing plus. I connected this with a loadcell amp of sparkfun.

Pinout i used:
GND = GND
CLK = 1
DAT = 1
VCC = 3.3V
VDD = 3.3V

I also use this library in the arduino IDE: GitHub - bogde/HX711: An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales.

When i upload the program everything is fine but when i’m looking at the serial port i got this error after

Remove all weight from scale

After readings begin, place known weight on scale

Press + or a to increase calibration factor

Press - or z to decrease calibration factor

++ MbedOS Error Info ++

Error Status: 0x80FF0144 Code: 324 Module: 255

Error Message: Assertion failed: status == osOK

Location: 0x22799

File: mbed-os/rtos/source/ThisThread.cpp+225

Error Value: 0x0

Current Thread: main Id: 0x100040D0 Entry: 0x23671 StackSize: 0x1000 StackMem: 0x10005B90 SP: 0x10006AEC

For more info, visit: mbedos-error

– MbedOS Error Info –

This is the program i use:

#include “HX711.h”
#include “ThisThread.h”

#define DOUT 0
#define CLK 1

HX711 scale;

float calibration_factor = -7050; //-7050 worked for my 440lb max scale setup

void setup() {
Serial.begin(9600);
delay(500);
Serial.println(“HX711 calibration sketch”);
Serial.println(“Remove all weight from scale”);
Serial.println(“After readings begin, place known weight on scale”);
Serial.println(“Press + or a to increase calibration factor”);
Serial.println(“Press - or z to decrease calibration factor”);

scale.begin(DOUT, CLK);
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. Useful in permanent scale projects.
Serial.println(zero_factor);
}

void loop() {

scale.set_scale(calibration_factor); //Adjust to this calibration factor

Serial.print(“Reading: “);
Serial.print(scale.get_units(), 1);
Serial.print(” lbs”); //Change this to kg and re-adjust the calibration factor if you follow SI units like a sane person
Serial.print(" calibration_factor: ");
Serial.print(calibration_factor);
Serial.println();

if(Serial.available())
{
char temp = Serial.read();
if(temp == ‘+’ || temp == ‘a’)
calibration_factor += 10;
else if(temp == ‘-’ || temp == ‘z’)
calibration_factor -= 10;
}
}

Be sure to grab the additional libraries SparkFun expLoRaBLE Hookup Guide - SparkFun Learn

Also probably try our default examples first Load Cell Amplifier HX711 Breakout Hookup Guide - SparkFun Learn