Package com.diozero.devices
Class HD44780Lcd.PiFaceCadLcdConnection
- java.lang.Object
-
- com.diozero.devices.HD44780Lcd.PiFaceCadLcdConnection
-
- All Implemented Interfaces:
HD44780Lcd.LcdConnection
,AutoCloseable
- Enclosing class:
- HD44780Lcd
public static class HD44780Lcd.PiFaceCadLcdConnection extends Object implements HD44780Lcd.LcdConnection
-
-
Constructor Summary
Constructors Constructor Description PiFaceCadLcdConnection(int controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getBacklightBit()
int
getDataReadWriteBit()
int
getEnableBit()
int
getRegisterSelectBit()
boolean
isDataInHighNibble()
void
write(byte values)
-
-
-
Method Detail
-
write
public void write(byte values)
- Specified by:
write
in interfaceHD44780Lcd.LcdConnection
-
close
public void close() throws RuntimeIOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceHD44780Lcd.LcdConnection
- Throws:
RuntimeIOException
-
isDataInHighNibble
public boolean isDataInHighNibble()
- Specified by:
isDataInHighNibble
in interfaceHD44780Lcd.LcdConnection
-
getRegisterSelectBit
public int getRegisterSelectBit()
- Specified by:
getRegisterSelectBit
in interfaceHD44780Lcd.LcdConnection
-
getDataReadWriteBit
public int getDataReadWriteBit()
- Specified by:
getDataReadWriteBit
in interfaceHD44780Lcd.LcdConnection
-
getEnableBit
public int getEnableBit()
- Specified by:
getEnableBit
in interfaceHD44780Lcd.LcdConnection
-
getBacklightBit
public int getBacklightBit()
- Specified by:
getBacklightBit
in interfaceHD44780Lcd.LcdConnection
-
-