Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2017 Changes in this version + type Duty int32 + const DutyHalf + const DutyMax + func ParseDuty(s string) (Duty, error) + func (d Duty) String() string + func (d Duty) Valid() bool + type Edge int + const BothEdges + const FallingEdge + const NoEdge + const RisingEdge + func (i Edge) String() string + type Level bool + const High + const Low + func (l Level) String() string + type PinDefaultPull interface + DefaultPull func() Pull + type PinIO interface + In func(pull Pull, edge Edge) error + Out func(l Level) error + Pull func() Pull + Read func() Level + WaitForEdge func(timeout time.Duration) bool + var INVALID PinIO + type PinIn interface + In func(pull Pull, edge Edge) error + Pull func() Pull + Read func() Level + WaitForEdge func(timeout time.Duration) bool + type PinOut interface + Out func(l Level) error + type PinPWM interface + PWM func(duty Duty, period time.Duration) error + type Pull uint8 + const Float + const PullDown + const PullNoChange + const PullUp + func (i Pull) String() string + type RealPin interface + Real func() PinIO Incompatible versions in this module v2.0.0+incompatible Aug 25, 2017