1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/hd44780: add short delay after each character

On the LCD display connected to the MCB2300 board, the
display would not light up.
Adding a 1µs delay after each byte of data seems to fix it.
This commit is contained in:
Benjamin Valentin 2019-10-27 21:35:22 +01:00 committed by Alexandre Abadie
parent 14346dba26
commit cf01c743a8
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -83,6 +83,8 @@ static void _send(const hd44780_t *dev, uint8_t value, hd44780_state_t state)
_write_bits(dev, 4, value>>4);
_write_bits(dev, 4, value);
}
xtimer_usleep(HD44780_PULSE_WAIT_SHORT);
}
static void _write_bits(const hd44780_t *dev, uint8_t bits, uint8_t value)