master
Mateusz Szafraniec 7 years ago
parent 6aa5b8b47a
commit 88e1a4b9ec
  1. 3
      LiquidCrystal_I2C.cpp

@ -82,8 +82,7 @@ void LiquidCrystal_I2C::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
// SEE PAGE 45/46 FOR INITIALIZATION SPECIFICATION!
// according to datasheet, we need at least 40ms after power rises above 2.7V
// before sending commands. Arduino can turn on way befer 4.5V so we'll wait 50
if (_oled) delay(500);
else delay(50);
delay(50);
// Now we pull both RS and R/W low to begin commands
expanderWrite(_backlightval); // reset expanderand turn backlight off (Bit 8 =1)

Loading…
Cancel
Save