public class MCP23008Pin extends Object
This GPIO provider implements the MCP23008 I2C GPIO expansion board as native Pi4J GPIO pins. More information about the board can be found here: * http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf http://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi/overview
The MCP23008 is connected via I2C connection to the Raspberry Pi and provides 8 GPIO pins that can be used for either digital input or digital output pins.
Modifier and Type | Field and Description |
---|---|
static Pin[] |
ALL |
static Pin |
GPIO_00 |
static Pin |
GPIO_01 |
static Pin |
GPIO_02 |
static Pin |
GPIO_03 |
static Pin |
GPIO_04 |
static Pin |
GPIO_05 |
static Pin |
GPIO_06 |
static Pin |
GPIO_07 |
Constructor and Description |
---|
MCP23008Pin() |
public static final Pin GPIO_00
public static final Pin GPIO_01
public static final Pin GPIO_02
public static final Pin GPIO_03
public static final Pin GPIO_04
public static final Pin GPIO_05
public static final Pin GPIO_06
public static final Pin GPIO_07
public static Pin[] ALL
Copyright © 2012–2016 Pi4J. All rights reserved.