upm
1.5.0
Sensor/Actuator repository for libmraa (v1.8.0)
|
API for SSD1327 I2C-controlled OLED displays. More...
SSD1327 is a 96x96 dot-matrix OLED/PLED segment driver with a controller. This implementation was tested using the Grove LED 96*96 Display module, which is an OLED monochrome display.
Public Member Functions | |
synchronized void | delete () |
SSD1327 (int bus, int address) | |
SSD1327 (int bus) | |
int | draw (byte[] data) |
void | setGrayLevel (short level) |
int | write (String msg) |
int | setCursor (int row, int column) |
int | clear () |
int | home () |
Public Member Functions inherited from LCD | |
synchronized void | delete () |
int | write (int x, int y, String msg) |
int | write (String msg) |
int | setCursor (int row, int column) |
int | clear () |
int | home () |
String | name () |
SSD1327 | ( | int | bus, |
int | address | ||
) |
int clear | ( | ) |
Clears the display of all characters
int home | ( | ) |
Returns to the original coordinates (0,0)
int setCursor | ( | int | row, |
int | column | ||
) |
Sets the cursor to specified coordinates
row | Row to set the cursor to |
column | Column to set the cursor to |
void setGrayLevel | ( | short | level | ) |
Sets the gray level for the LCD panel
level | level from 0 to 255 |
int write | ( | String | msg | ) |
Writes a string to the LCD
msg | std::string to write to the display; note: only ASCII characters are supported |