Package com.diozero.devices
Class HD44780Lcd.PCF8574LcdConnection
- java.lang.Object
-
- com.diozero.devices.HD44780Lcd.GpioExpansionLcdConnection
-
- com.diozero.devices.HD44780Lcd.PCF8574LcdConnection
-
- All Implemented Interfaces:
HD44780Lcd.LcdConnection
,AutoCloseable
- Enclosing class:
- HD44780Lcd
public static class HD44780Lcd.PCF8574LcdConnection extends HD44780Lcd.GpioExpansionLcdConnection
Connected via the PCF8574 I2C GPIO expansion backpack Default PCF8574 GPIO to HD44780 pin map:PH_PIN_RS = 0 PH_PIN_RW = 1 PH_PIN_ENABLE = 2 PH_PIN_LED_EN = 3 PH_PIN_D4 = 4 PH_PIN_D5 = 5 PH_PIN_D6 = 6 PH_PIN_D7 = 7
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DEVICE_ADDRESS
-
Constructor Summary
Constructors Constructor Description PCF8574LcdConnection(int controller)
PCF8574LcdConnection(int controller, int deviceAddress)
-
Method Summary
-
Methods inherited from class com.diozero.devices.HD44780Lcd.GpioExpansionLcdConnection
close, getBacklightBit, getDataReadWriteBit, getEnableBit, getRegisterSelectBit, isDataInHighNibble, write
-
-
-
-
Field Detail
-
DEFAULT_DEVICE_ADDRESS
public static final int DEFAULT_DEVICE_ADDRESS
- See Also:
- Constant Field Values
-
-