i2clcd: add ssd1308 to swig and move common files to ssd.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-09-22 17:07:00 +01:00
parent befba8c18d
commit a07663045b
5 changed files with 155 additions and 232 deletions

View File

@ -129,7 +129,7 @@ SSD1308::writeChar (mraa_i2c_context ctx, uint8_t value) {
mraa_result_t
SSD1308::setNormalDisplay () {
return i2Cmd (m_i2c_lcd_control, DISPLAY_CMD_SET_NORMAL); // set to normal display '1' is ON
return i2Cmd (m_i2c_lcd_control, DISPLAY_CMD_SET_NORMAL_1308); // set to normal display '1' is ON
}
mraa_result_t