public class MCP23017Pin extends MCP23X17Pin
This GPIO provider implements the MCP23017 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/21952b.pdf http://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi/overview
The MCP23017 is connected via I2C connection to the Raspberry Pi and provides 16 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[] |
ALL_A_PINS |
static Pin[] |
ALL_B_PINS |
static Pin |
GPIO_A0 |
static Pin |
GPIO_A1 |
static Pin |
GPIO_A2 |
static Pin |
GPIO_A3 |
static Pin |
GPIO_A4 |
static Pin |
GPIO_A5 |
static Pin |
GPIO_A6 |
static Pin |
GPIO_A7 |
static Pin |
GPIO_B0 |
static Pin |
GPIO_B1 |
static Pin |
GPIO_B2 |
static Pin |
GPIO_B3 |
static Pin |
GPIO_B4 |
static Pin |
GPIO_B5 |
static Pin |
GPIO_B6 |
static Pin |
GPIO_B7 |
| Constructor and Description |
|---|
MCP23017Pin() |
public static final Pin GPIO_A0
public static final Pin GPIO_A1
public static final Pin GPIO_A2
public static final Pin GPIO_A3
public static final Pin GPIO_A4
public static final Pin GPIO_A5
public static final Pin GPIO_A6
public static final Pin GPIO_A7
public static final Pin GPIO_B0
public static final Pin GPIO_B1
public static final Pin GPIO_B2
public static final Pin GPIO_B3
public static final Pin GPIO_B4
public static final Pin GPIO_B5
public static final Pin GPIO_B6
public static final Pin GPIO_B7
public static Pin[] ALL_A_PINS
public static Pin[] ALL_B_PINS
public static Pin[] ALL
Copyright © 2012–2018 Pi4J. All rights reserved.