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);
|
//p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION | DDaddr);
|
||||||
|
|
||||||
|
// 40X4
|
||||||
p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION);
|
p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION);
|
||||||
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
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) {
|
if (!p->cc[i].clean) {
|
||||||
int row;
|
int row;
|
||||||
|
|
||||||
|
// 40X4
|
||||||
/* Tell the HD44780 we will redefine char number i */
|
/* Tell the HD44780 we will redefine char number i */
|
||||||
p->hd44780_functions->senddata(p, 0, RS_INSTR, SETCHAR | i * 8);
|
p->hd44780_functions->senddata(p, 0, RS_INSTR, SETCHAR | i * 8);
|
||||||
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
||||||
|
|||||||
Reference in New Issue
Block a user