Add VFD startup delay

This commit is contained in:
Gregor Riepl 2021-04-22 00:42:38 +02:00
parent c71fc39f48
commit 596b4ee6eb

View file

@ -19,6 +19,7 @@ void display_init() {
DDRD |= _BV(PD0) | _BV(PD1) | _BV(PD5) | _BV(PD6) | _BV(PD7); DDRD |= _BV(PD0) | _BV(PD1) | _BV(PD5) | _BV(PD6) | _BV(PD7);
display_wait_ready(); display_wait_ready();
_delay_ms(100);
// initialize display: 8 bit, 2 lines, 50% brightness // initialize display: 8 bit, 2 lines, 50% brightness
display_write_ir(0x3c); display_write_ir(0x3c);
display_wait_ready(); display_wait_ready();