GroveOledSsd1327 class

Provides support for the Grove OLED 96*96 display module, which is an OLED monochrome display based on a SSD1327 chip.

The SSD1327 is a 96x96 dot-matrix OLED/PLED segment driver with an associated controller, accessed through the I2C bus.

Constructors

GroveOledSsd1327(Mraa _mraa, MraaI2cContext _context, [int deviceAddress = defaultDeviceAddress])
Construction

Properties

cmdSleep Duration
Post command sleep time
getter/setter pair
grayLevel int
The gray level for the OLED panel. Values are constrained to range 0 - 15.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialised bool
Initialised. Use the setter with caution, intended only for testing.
getter/setter pair
initSleep Duration
Initialisation inter command sleep time in microseconds
getter/setter pair
monitored GroveSequenceMonitor<MraaReturnCode>
Last monitored sequence status
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → MraaReturnCode
Clears the display of all characters.
displayNormal() → void
Normal display.
displayOff() → void
Display mode off.
displayOn() → void
Display mode on.
drawImage(List<int> bitmap, [int? bytesToDraw]) → MraaReturnCode
Draws an image.
home() → MraaReturnCode
Returns to the original coordinates (0,0).
initialise({bool clearDisplay = false}) bool
Initialise the display for use.
invertDisplay() → void
Inverse display mode.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCursor(int pRow, int pColumn) → MraaReturnCode
Sets the cursor to the specified coordinates.
toString() String
A string representation of this object.
inherited
turnOff() → void
Turn the display off(sleep) mode.
turnOn() → void
Turn the display on in normal mode.
write(String msg) → MraaReturnCode
Writes a string to the OLED.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

cmdSleepDefault → const Duration
Command sleep time default.
defaultDeviceAddress → const int
Default device address.
initSleepDefault → const Duration
Initialise sleep time default.