fix
This commit is contained in:
@@ -624,6 +624,7 @@ HD44780_position(Driver *drvthis, int x, int y)
|
||||
}
|
||||
//p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION | DDaddr);
|
||||
|
||||
// 40X4
|
||||
p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION);
|
||||
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
||||
|
||||
@@ -723,6 +724,7 @@ HD44780_flush(Driver *drvthis)
|
||||
if (!p->cc[i].clean) {
|
||||
int row;
|
||||
|
||||
// 40X4
|
||||
/* Tell the HD44780 we will redefine char number i */
|
||||
p->hd44780_functions->senddata(p, 0, RS_INSTR, SETCHAR | i * 8);
|
||||
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
||||
|
||||
Reference in New Issue
Block a user