pcf8574

package
v0.0.0-...-2e267fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package pcf8574 allows interfacing with the pcf8574 8-bit I/O Expander through I2C protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PCF8574

type PCF8574 struct {
	// contains filtered or unexported fields
}

PCF8574 represents a PCF8574 I/O Expander.

func New

func New(bus embd.I2CBus, addr byte) *PCF8574

New creates a new PCF8574 interface.

func (*PCF8574) SetByte

func (c *PCF8574) SetByte(val byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL