Versions in this module Expand all Collapse all v1 v1.0.0 Aug 25, 2014 Changes in this version + func Close() error + func Open() (err error) + func PinMode(pin Pin, direction Direction) + func PullMode(pin Pin, pull Pull) + func TogglePin(pin Pin) + func WritePin(pin Pin, state State) + type Direction uint8 + const Input + const Output + type Pin uint8 + func (pin Pin) High() + func (pin Pin) Input() + func (pin Pin) Low() + func (pin Pin) Mode(dir Direction) + func (pin Pin) Output() + func (pin Pin) Pull(pull Pull) + func (pin Pin) PullDown() + func (pin Pin) PullOff() + func (pin Pin) PullUp() + func (pin Pin) Read() State + func (pin Pin) Toggle() + func (pin Pin) Write(state State) + type Pull uint8 + const PullDown + const PullOff + const PullUp + type State uint8 + const High + const Low + func ReadPin(pin Pin) State Incompatible versions in this module v4.2.0+incompatible Oct 9, 2018 v3.0.0+incompatible Dec 8, 2015 v2.0.0+incompatible Mar 8, 2015