Documentation ¶
Overview ¶
Package picommon contains shared information for supported and non-supported pi boards.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModelName = resource.NewDefaultModel("pi")
ModelName is the name used refer to any implementation of a pi based component.
View Source
var PiGPIOErrorMap = map[int]string{}/* 150 elements not displayed */
PiGPIOErrorMap maps the error codes to the human readable error names. This can be found at the pigpio C interface.
Functions ¶
func ConvertErrorCodeToMessage ¶ added in v0.2.20
ConvertErrorCodeToMessage converts error code to a human-readable string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.