Package com.diozero.devices
Class ColourSsdOled
java.lang.Object
com.diozero.devices.SsdOled
com.diozero.devices.ColourSsdOled
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public abstract class ColourSsdOled extends SsdOled
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ColourSsdOled(int controller, int chipSelect, DigitalOutputDevice dcPin, DigitalOutputDevice resetPin, int width, int height, int imageType)
-
Method Summary
Modifier and Type Method Description void
display(java.awt.image.BufferedImage image)
protected void
home()
abstract void
setContrast(byte level)
abstract void
setContrast(byte red, byte green, byte blue)
void
setPixel(int x, int y, byte red, byte green, byte blue, boolean display)
Methods inherited from class com.diozero.devices.SsdOled
clear, close, command, data, data, display, getHeight, getNativeImageType, getWidth, goTo, init, invertDisplay, reset, setDisplayOn
-
Field Details
-
Constructor Details
-
ColourSsdOled
public ColourSsdOled(int controller, int chipSelect, DigitalOutputDevice dcPin, DigitalOutputDevice resetPin, int width, int height, int imageType)
-
-
Method Details
-
home
protected void home() -
display
public void display(java.awt.image.BufferedImage image) -
setPixel
public void setPixel(int x, int y, byte red, byte green, byte blue, boolean display) -
setContrast
public abstract void setContrast(byte level) -
setContrast
public abstract void setContrast(byte red, byte green, byte blue)
-