Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8629

C/C++ • Re: HX711 SimpleHx711Test Hanging

$
0
0
The lgpio linked from hx711 repository was prior to RaspberryPi 5. I uninstalled this old version and installed the new version. I now have a message from the advancedHx711Test, so that is some progress:
$ ./advancedhx711test 2 3 1 0
terminate called after throwing an instance of 'std::runtime_error'
what(): no samples obtained
Aborted
Just as another check, on the Pi 5, my data is connected to GPIO 2 (pin 3), clock connected to GPIO3 (pin 5), 5V Power is connected to pin 4 and ground to pin 6. I have also tried connecting the power to the 3.3V at pin 1, same result.

I am yet to test the lgpio independently, my next task.

Statistics: Posted by gettingstronger — Thu May 02, 2024 8:32 am



Viewing all articles
Browse latest Browse all 8629

Trending Articles