More utility functions in lcd/print.c
This commit is contained in:
parent
12818d6411
commit
0e87c693f4
|
@ -34,3 +34,13 @@ void lcdClear(){
|
||||||
void lcdRefresh(){
|
void lcdRefresh(){
|
||||||
lcdDisplay(0);
|
lcdDisplay(0);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void lcdMoveCrsr(signed int dx,signed int dy){
|
||||||
|
x+=dx;
|
||||||
|
y+=dy;
|
||||||
|
};
|
||||||
|
|
||||||
|
void lcdSetCrsr(int dx,int dy){
|
||||||
|
x=dx;
|
||||||
|
y=dy;
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,6 @@ void lcdPrintInt(const int num);
|
||||||
void lcdPrintIntHex(const int num);
|
void lcdPrintIntHex(const int num);
|
||||||
void lcdClear();
|
void lcdClear();
|
||||||
void lcdRefresh();
|
void lcdRefresh();
|
||||||
|
void lcdMoveCrsr(signed int dx,signed int dy);
|
||||||
|
void lcdSetCrsr(int dx,int dy);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue