docs.rs failed to build hx711-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
hx711-0.7.0
HX711
A platform agnostic driver to interface with the HX711 (load cell amplifier and 24 bit ADC)
What works
- Resetting the chip
- Setting the mode (gain and channel)
- Reading conversion results (blocking and non blocking)
Tested with STM32F103. Pull requests for other hardware welcome!
Because the interface works by toggling of GPIO pins, timing is important. Example for linux (Raspberry Pi) does not work reliably due to timing issues, but it should work good enough for quick and easy testing.
Examples
See here: https://github.com/jonas-hagen/hx711-examples
Changelog
v0.2
- Update to
embedded-haldigital pin v2 API. Thanks to mmou!
v0.1
- First version.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.