1
0
mirror of https://github.com/marqs85/ossc.git synced 2026-04-21 05:16:31 +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
@@ -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;