jhd1313m1: add setColor method call to control backlight

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-07-14 10:48:55 +01:00
parent 8a67c143bf
commit 86a3be4517
2 changed files with 15 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class Jhd1313m1 : public I2CLcd {
public:
Jhd1313m1 (int bus, int lcdAddress, int rgbAddress);
~Jhd1313m1 ();
mraa_result_t setColor(uint8_t r, uint8_t g, uint8_t b);
mraa_result_t write (std::string msg);
mraa_result_t setCursor (int row, int column);
mraa_result_t clear ();