mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Add display GPIO setup instruction for Aliexpress display (#3851)
This commit is contained in:
parent
106de3530d
commit
f4a84765cd
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ void SSD1327::setup() {
|
|||
this->command(0x55);
|
||||
this->command(SSD1327_SETVCOMHVOLTAGE); // Set High Voltage Level of COM Pin
|
||||
this->command(0x1C);
|
||||
this->command(SSD1327_SETGPIO); // Switch voltage converter on (for Aliexpress display)
|
||||
this->command(0x03);
|
||||
this->command(SSD1327_NORMALDISPLAY); // set display mode
|
||||
set_brightness(this->brightness_);
|
||||
this->fill(Color::BLACK); // clear display - ensures we do not see garbage at power-on
|
||||
|
|
Loading…
Reference in a new issue