mirror of
https://github.com/eclipse/upm.git
synced 2025-07-06 03:41:13 +03:00
lcd: jhd1313m1: rewrite to use Lcm1602 as a base class
Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
cb62f06197
commit
f133b6eb4c
@ -230,10 +230,11 @@ class Lcm1602 : public LCD
|
||||
virtual mraa_result_t command(uint8_t cmd);
|
||||
virtual mraa_result_t data(uint8_t data);
|
||||
|
||||
private:
|
||||
int m_lcd_control_address;
|
||||
mraa::I2c* m_i2c_lcd_control;
|
||||
|
||||
private:
|
||||
|
||||
// true if using i2c, false otherwise (gpio)
|
||||
bool m_isI2C;
|
||||
|
||||
|
Reference in New Issue
Block a user