This commit is contained in:
Patrick Valk
2016-11-02 11:32:41 +01:00
parent 02c3986d3a
commit 71ca824756
+2
View File
@@ -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 */