Documentation
¶
Index ¶
- Variables
- func ExecCommand(cmd string, args []string, root bool, input string) (output string, err error)
- func GPIOSetOutput(name string, high bool) (err error)
- func I2CRead(bus int, addr int, reg uint8, size uint) (val []byte, err error)
- func I2CWrite(bus int, addr int, reg uint8, val []byte) (err error)
- func LED(name string, on bool) (err error)
- func UARTWrite(path string, speed int, cmd string) (res string, err error)
- func UnzipFile(src string, dst string) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Build string
View Source
var Logger *log.Logger
View Source
var Revision string
build information, initialized at compile time (see Makefile)
Functions ¶
func ExecCommand ¶
func GPIOSetOutput ¶
Configure a GPIO pin as output high or low.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.