Versions in this module Expand all Collapse all v1 v1.13.0 May 22, 2019 Changes in this version + type Adaptor struct + func NewAdaptor() *Adaptor + func (e *Adaptor) AnalogRead(pin string) (val int, err error) + func (e *Adaptor) Board() string + func (e *Adaptor) Connect() (err error) + func (e *Adaptor) DigitalPin(pin string, dir string) (sysfsPin sysfs.DigitalPinner, err error) + func (e *Adaptor) DigitalRead(pin string) (i int, err error) + func (e *Adaptor) DigitalWrite(pin string, val byte) (err error) + func (e *Adaptor) Finalize() (err error) + func (e *Adaptor) GetConnection(address int, bus int) (connection i2c.Connection, err error) + func (e *Adaptor) GetDefaultBus() int + func (e *Adaptor) Name() string + func (e *Adaptor) PWMPin(pin string) (sysfsPin sysfs.PWMPinner, err error) + func (e *Adaptor) PwmWrite(pin string, val byte) (err error) + func (e *Adaptor) SetBoard(n string) + func (e *Adaptor) SetName(n string)