Merge pull request #38 from MichelsonChapman/release

Update lcd.c
This commit is contained in:
marqs85 2020-04-08 22:58:12 +03:00 committed by GitHub
commit 4dab90a651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ void lcd_write(char *row1, char *row2)
IOWR_ALTERA_AVALON_PIO_DATA(PIO_0_BASE, sys_ctrl);
lcd_cmd(0x01,CLEARDELAY); // clear display
usleep(400); // additional delay for copycat lcd module
// Set RS to enter data write mode
sys_ctrl |= LCD_RS;