docs.rs failed to build stemma_soil_sensor-0.1.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:
stemma_soil_sensor-0.1.5
Library for retrieving readings from Adafruit STEMMA Soil Sensor.
The implementation is based on the Adafruit CircuitPython Seesaw library.
The library is tested and used on a Raspberry Pi 3 B+ board, running Raspbian but uses interfaces
from embedded_hal
for all operation so it should work in no_std
environments as well.
Example
Using this library with other boards
There are minor differences between this implementation and the one for the Arduino board. The two major differences are:
- Reading output from the sensor is not done in 32 byte chunks. This could pose an issue.
- The timings to allow the sensor to process are slightly longer than the C implementation and is based on the Python library. This should not matter.
If #1 is a problem I'll be positive to implement a read
method which allows the user of the
library to supply a buffer of the size they need. Leave an issue or a PR with the implementation
and I'll add it.
On #2, the short timings used in the C example continuously caused read errors when I tried it so I'm not sure lowering it is possible.