Versions in this module Expand all Collapse all v1 v1.0.0 Jan 14, 2020 Changes in this version + var ErrTimeout = fmt.Errorf("timeout") — darwin/amd64, js/wasm, linux/amd64 + func HostInit() error + type Hx711 struct + AdjustScale float64 + AdjustZero int + func NewHx711(clockPinName string, dataPinName string) (*Hx711, error) + func (hx711 *Hx711) BackgroundReadMovingAvgs(numReadings, numAvgs int, movingAvg *float64, stop *bool, ...) + func (hx711 *Hx711) GetAdjustValues(weight1 float64, weight2 float64) + func (hx711 *Hx711) ReadDataMedian(numReadings int) (float64, error) + func (hx711 *Hx711) ReadDataMedianRaw(numReadings int) (int, error) + func (hx711 *Hx711) ReadDataMedianThenAvg(numReadings, numAvgs int) (float64, error) + func (hx711 *Hx711) ReadDataMedianThenMovingAvgs(numReadings, numAvgs int, previousReadings *[]float64) (float64, error) + func (hx711 *Hx711) ReadDataRaw() (int, error) + func (hx711 *Hx711) Reset() error + func (hx711 *Hx711) SetGain(gain int) + func (hx711 *Hx711) Shutdown() error