Documentation ¶
Index ¶
- func Factory() hal.DriverFactory
- type Config
- type Driver
- func (d *Driver) Close() error
- func (d *Driver) DigitalOutputPin(i int) (hal.DigitalOutputPin, error)
- func (d *Driver) DigitalOutputPins() []hal.DigitalOutputPin
- func (d *Driver) LastState() bool
- func (d *Driver) Metadata() hal.Metadata
- func (d *Driver) Name() string
- func (d *Driver) Number() int
- func (d *Driver) Off() error
- func (d *Driver) On() error
- func (d *Driver) Pins(cap hal.Capability) ([]hal.Pin, error)
- func (d *Driver) Write(state bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
func (*Driver) DigitalOutputPin ¶
func (d *Driver) DigitalOutputPin(i int) (hal.DigitalOutputPin, error)
func (*Driver) DigitalOutputPins ¶
func (d *Driver) DigitalOutputPins() []hal.DigitalOutputPin
Click to show internal directories.
Click to hide internal directories.