mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Make I2C address configurable for HD44780 LCD variations
Also add a basic README with some pointers on how to connect and configure the LCDs
This commit is contained in:
parent
ef0ebb4d49
commit
ce367f73cb
7 changed files with 72 additions and 8 deletions
2
Conf.h
2
Conf.h
|
|
@ -137,6 +137,7 @@ public:
|
|||
unsigned int getHD44780Rows() const;
|
||||
unsigned int getHD44780Columns() const;
|
||||
std::vector<unsigned int> getHD44780Pins() const;
|
||||
std::string getHD44780i2cAddress() const;
|
||||
bool getHD44780PWM() const;
|
||||
unsigned int getHD44780PWMPin() const;
|
||||
unsigned int getHD44780PWMBright() const;
|
||||
|
|
@ -252,6 +253,7 @@ private:
|
|||
unsigned int m_hd44780Rows;
|
||||
unsigned int m_hd44780Columns;
|
||||
std::vector<unsigned int> m_hd44780Pins;
|
||||
std::string m_hd44780i2cAddress;
|
||||
bool m_hd44780PWM;
|
||||
unsigned int m_hd44780PWMPin;
|
||||
unsigned int m_hd44780PWMBright;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue