public interface I2CBus
| Modifier and Type | Field and Description | 
|---|---|
static int | 
BUS_0  | 
static int | 
BUS_1  | 
static int | 
BUS_10  | 
static int | 
BUS_11  | 
static int | 
BUS_12  | 
static int | 
BUS_13  | 
static int | 
BUS_14  | 
static int | 
BUS_15  | 
static int | 
BUS_16  | 
static int | 
BUS_17  | 
static int | 
BUS_2  | 
static int | 
BUS_3  | 
static int | 
BUS_4  | 
static int | 
BUS_5  | 
static int | 
BUS_6  | 
static int | 
BUS_7  | 
static int | 
BUS_8  | 
static int | 
BUS_9  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes this bus. 
 | 
int | 
getBusNumber()  | 
I2CDevice | 
getDevice(int address)
Returns i2c device. 
 | 
static final int BUS_0
static final int BUS_1
static final int BUS_2
static final int BUS_3
static final int BUS_4
static final int BUS_5
static final int BUS_6
static final int BUS_7
static final int BUS_8
static final int BUS_9
static final int BUS_10
static final int BUS_11
static final int BUS_12
static final int BUS_13
static final int BUS_14
static final int BUS_15
static final int BUS_16
static final int BUS_17
I2CDevice getDevice(int address) throws IOException
address - i2c device's addressIOException - thrown in case this bus cannot return i2c device.int getBusNumber()
void close() throws IOException
IOException - thrown in case there are problems closing this i2c bus.Copyright © 2012–2019 Pi4J. All rights reserved.