Thanks! Please can you try:
sck : B15,
miso : LED2,
lsbGrams : 0.00103123388,
mode : "A128"
and see if it works for you?
I don't have one to test with here so it's guesswork really.
The module itself is here if you want to take a look at what's available: https://github.com/espruino/EspruinoDocs/blob/master/devices/HX711.js
I tried to make it so that it will output the correct number of pulses - I think you probably hit issues because if the delay is too great between pulses it can really throw it off.
I also added isReady - since it looks like you can tell if a reading is ready by checking the state of the DATA line - it might help with allowing you to get a good reading at a higher data rate.
© Espruino, powered by microcosm.
Report a problem