Documentation ¶
Overview ¶
This is a library to manage Microchip MCP23008 This chip is used on onion.io Omega2 relay expension
Index ¶
- func GpioAllOff(module *Mcp23008)
- func GpioAllOn(module *Mcp23008)
- func GpioOff(module *Mcp23008, gpio byte)
- func GpioOn(module *Mcp23008, gpio byte)
- func GpioReverse(module *Mcp23008, gpio byte)
- func Init(device string, add int, module *Mcp23008) error
- func ReadGpio(module *Mcp23008, gpio byte) byte
- type Mcp23008
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GpioReverse ¶
GpioReverse change state of selected GPIO other one are unchanged
Types ¶
Click to show internal directories.
Click to hide internal directories.