skmdmasud
Member
Hi.
I am trying to display 4 different int variables in my lcd using just single display command to
save program memory.
The lcd library that i am using accepts the following to display int
LCDWriteIntXY(X,Y,VALUE,UNIT);
LCDWriteIntXY(2,0,a,4);
or
LCDWriteStringXY(0,1,"My Values");
I have four different int variable e.g. a,b,c and d.
a=1;
b=2;
c=999;
d=999;
I want to display this as following
| 1-2-999-999 |
How do i make it into a single char or string and display it.
Regards.
I am trying to display 4 different int variables in my lcd using just single display command to
save program memory.
The lcd library that i am using accepts the following to display int
LCDWriteIntXY(X,Y,VALUE,UNIT);
LCDWriteIntXY(2,0,a,4);
or
LCDWriteStringXY(0,1,"My Values");
I have four different int variable e.g. a,b,c and d.
a=1;
b=2;
c=999;
d=999;
I want to display this as following
| 1-2-999-999 |
How do i make it into a single char or string and display it.
Regards.