Add VFD startup delay
This commit is contained in:
parent
c71fc39f48
commit
596b4ee6eb
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue