public static class HD44780Lcd.PCF8574LcdConnection extends Object implements HD44780Lcd.LcdConnection
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DEVICE_ADDRESS |
Constructor and Description |
---|
PCF8574LcdConnection(int controller) |
PCF8574LcdConnection(int controller,
int deviceAddress) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getBacklightBit() |
int |
getDataReadWriteBit() |
int |
getEnableBit() |
int |
getRegisterSelectBit() |
boolean |
isDataInHighNibble() |
void |
write(byte values) |
public static final int DEFAULT_DEVICE_ADDRESS
public PCF8574LcdConnection(int controller)
public PCF8574LcdConnection(int controller, int deviceAddress)
public void write(byte values)
write
in interface HD44780Lcd.LcdConnection
public boolean isDataInHighNibble()
isDataInHighNibble
in interface HD44780Lcd.LcdConnection
public int getRegisterSelectBit()
getRegisterSelectBit
in interface HD44780Lcd.LcdConnection
public int getDataReadWriteBit()
getDataReadWriteBit
in interface HD44780Lcd.LcdConnection
public int getEnableBit()
getEnableBit
in interface HD44780Lcd.LcdConnection
public int getBacklightBit()
getBacklightBit
in interface HD44780Lcd.LcdConnection
public void close() throws RuntimeIOException
close
in interface HD44780Lcd.LcdConnection
close
in interface Closeable
close
in interface AutoCloseable
RuntimeIOException
Copyright © 2016–2017 mattjlewis. All rights reserved.