Documentation ¶
Overview ¶
Package pinreg is a registry for the physical headers (made up of pins) on a host.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All contains all the on-board headers on a micro computer.
The map key is the header name, e.g. "P1" or "EULER" and the value is a slice of slice of pin.Pin. For a 2x20 header, it's going to be a slice of [20][2]pin.Pin.
func IsConnected ¶
IsConnected returns true if the pin is on a header.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.