1
0
mirror of https://github.com/marqs85/ossc.git synced 2024-06-17 14:29:27 +00:00

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

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;