Package com.diozero.devices.oled
Class SsdOledCommunicationChannel.I2cCommunicationChannel
- java.lang.Object
-
- com.diozero.devices.oled.SsdOledCommunicationChannel.I2cCommunicationChannel
-
- All Implemented Interfaces:
SsdOledCommunicationChannel
,AutoCloseable
- Enclosing interface:
- SsdOledCommunicationChannel
public static class SsdOledCommunicationChannel.I2cCommunicationChannel extends Object implements SsdOledCommunicationChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.diozero.devices.oled.SsdOledCommunicationChannel
SsdOledCommunicationChannel.I2cCommunicationChannel, SsdOledCommunicationChannel.SpiCommunicationChannel
-
-
Constructor Summary
Constructors Constructor Description I2cCommunicationChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
write(byte... commands)
void
write(byte[] buffer, int offset, int length)
-
-
-
Method Detail
-
write
public void write(byte... commands)
- Specified by:
write
in interfaceSsdOledCommunicationChannel
-
write
public void write(byte[] buffer, int offset, int length)
- Specified by:
write
in interfaceSsdOledCommunicationChannel
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSsdOledCommunicationChannel
-
-