Fixed Libraries
This commit is contained in:
@@ -65,10 +65,10 @@ void LiquidCrystal_I2C::begin_priv(uint8_t dotsize) {
|
||||
// according to datasheet, we need at least 40ms after power rises above 2.7V
|
||||
// before sending commands. Nucleo can turn on way befer 4.5V so we'll wait
|
||||
// 50
|
||||
wait_ms(50);
|
||||
wait_us(50000);
|
||||
// Now we pull both RS and R/W low to begin commands
|
||||
expanderWrite(_backlightval); // reset expanderand turn backlight off (Bit 8 =1)
|
||||
wait_ms(1000);
|
||||
wait_us(1000000);
|
||||
// put the LCD into 4 bit mode
|
||||
// this is according to the hitachi HD44780 datasheet
|
||||
// figure 24, pg 46
|
||||
|
||||
Reference in New Issue
Block a user