More utility functions in lcd/print.c

This commit is contained in:
Stefan `Sec` Zehl 2011-07-13 02:15:47 +02:00
parent 12818d6411
commit 0e87c693f4
2 changed files with 13 additions and 0 deletions

View File

@ -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;
};

View File

@ -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);