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:
parent
14346dba26
commit
cf01c743a8
@ -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>>4);
|
||||||
_write_bits(dev, 4, value);
|
_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)
|
static void _write_bits(const hd44780_t *dev, uint8_t bits, uint8_t value)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user