Versions in this module Expand all Collapse all v3 v3.7.1 Aug 9, 2024 v3.7.0 Oct 27, 2022 v3.6.10 Dec 1, 2021 v3.6.9 Sep 14, 2021 Changes in this version type Pin + Clock clockwork.Clock v3.6.8 May 28, 2021 v3.6.7 Dec 30, 2020 Changes in this version + type LogPinIO struct + func (p *LogPinIO) In(pull gpio.Pull, edge gpio.Edge) error + func (p *LogPinIO) Out(l gpio.Level) error + func (p *LogPinIO) PWM(duty gpio.Duty, f physic.Frequency) error + func (p *LogPinIO) Read() gpio.Level + func (p *LogPinIO) Real() gpio.PinIO + func (p *LogPinIO) WaitForEdge(timeout time.Duration) bool + type Pin struct + D gpio.Duty + EdgesChan chan gpio.Level + F physic.Frequency + Fn string + L gpio.Level + N string + Num int + P gpio.Pull + func (p *Pin) DefaultPull() gpio.Pull + func (p *Pin) Func() pin.Func + func (p *Pin) Function() string + func (p *Pin) Halt() error + func (p *Pin) In(pull gpio.Pull, edge gpio.Edge) error + func (p *Pin) Name() string + func (p *Pin) Number() int + func (p *Pin) Out(l gpio.Level) error + func (p *Pin) PWM(duty gpio.Duty, f physic.Frequency) error + func (p *Pin) Pull() gpio.Pull + func (p *Pin) Read() gpio.Level + func (p *Pin) SetFunc(f pin.Func) error + func (p *Pin) String() string + func (p *Pin) SupportedFuncs() []pin.Func + func (p *Pin) WaitForEdge(timeout time.Duration) bool