mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 10:51:12 +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
@ -55,6 +55,9 @@ Lcm1602::Lcm1602(int bus_in, int addr_in, bool isExpander) :
|
||||
return;
|
||||
}
|
||||
|
||||
// default display control
|
||||
m_displayControl = LCD_DISPLAYON | LCD_CURSOROFF | LCD_BLINKOFF;
|
||||
|
||||
// if we are not dealing with an expander (say via a derived class
|
||||
// like Jhd1313m1), then we do not want to execute the rest of the
|
||||
// code below. Rather, the derived class's constructor should
|
||||
|
Reference in New Issue
Block a user