28 #include <mraa/i2c.hpp>
34 const uint8_t DISPLAY_CMD_SET_NORMAL_1308 = 0xA6;
65 SSD1308(
int bus,
int address = 0x3C);
78 mraa::Result
draw(uint8_t* data,
int bytes);
86 mraa::Result
write(std::string msg);
94 mraa::Result
setCursor(
int row,
int column);
100 mraa::Result
clear();
109 mraa::Result writeChar(uint8_t value);
110 mraa::Result setNormalDisplay();
111 mraa::Result setAddressingMode(displayAddressingMode mode);
113 int m_lcd_control_address;
114 mraa::I2c m_i2c_lcd_control;
~SSD1308()
Definition: ssd1308.cxx:56
API for SSD1308 I2C-controlled OLED displays.
Definition: ssd1308.h:56
mraa::Result draw(uint8_t *data, int bytes)
Definition: ssd1308.cxx:61
mraa::Result clear()
Definition: ssd1308.cxx:109
mraa::Result home()
Definition: ssd1308.cxx:130
SSD1308(int bus, int address=0x3C)
Definition: ssd1308.cxx:34
mraa::Result setCursor(int row, int column)
Definition: ssd1308.cxx:93
mraa::Result write(std::string msg)
Definition: ssd1308.cxx:79