#![no_std]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
pub mod hx711;
pub trait LoadCell {
type Offset;
type Scale;
type NotReadyError;
fn read(&mut self) -> Result<i32, Self::NotReadyError>;
fn read_scaled(&mut self) -> Result<Self::Scale, Self::NotReadyError>;
fn tare(&mut self, num_samples: usize);
fn set_offset(&mut self, offset: Self::Offset);
fn get_offset(&self) -> Self::Offset;
fn set_scale(&mut self, scale: Self::Scale);
fn get_scale(&self) -> Self::Scale;
}