vinodstanur
Advanced Member level 3
- Joined
- Oct 31, 2009
- Messages
- 751
- Helped
- 114
- Reputation
- 234
- Reaction score
- 114
- Trophy points
- 1,333
- Location
- Kerala (INDIA)
- Activity points
- 7,054
I want to display an int in an LCD display. For example,
int a=174;
Now to display it in LCD, I want to send the ascii of each digit to LCD.
If it is like ,
char buf[]="174";
Then i could easily display it in lcd by using a buf in a for loop.
So i think i could display the intiger value in a variable a if i could convert it to a string....But how? And is there any other simple method for this?8O
---------- Post added at 07:13 ---------- Previous post was at 07:10 ----------
My C knowledge is limited.
int a=174;
Now to display it in LCD, I want to send the ascii of each digit to LCD.
If it is like ,
char buf[]="174";
Then i could easily display it in lcd by using a buf in a for loop.
So i think i could display the intiger value in a variable a if i could convert it to a string....But how? And is there any other simple method for this?8O
---------- Post added at 07:13 ---------- Previous post was at 07:10 ----------
My C knowledge is limited.