jhd1313m1: add createChar() method, as it should be supported by this device

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Jon Trulson
2015-07-09 14:12:20 -06:00
committed by Mihai Tudor Panu
parent 1647f572ff
commit 8462e8ce52
2 changed files with 24 additions and 0 deletions

View File

@ -111,6 +111,15 @@ class Jhd1313m1 : public LCD
*/
mraa_result_t home();
/**
* Create a custom character
*
* @param charSlot the character slot to write, only 8 are available
* @param charData The character data (8 bytes) making up the character
* @return Result of operation
*/
mraa_result_t createChar(uint8_t charSlot, uint8_t charData[]);
private:
int m_rgb_address;
mraa::I2c m_i2c_lcd_rgb;