[SOLVED] how to send a variable to display in 2X16 lcd

Status
Not open for further replies.

thannara123

Advanced Member level 5
Joined
Jan 7, 2010
Messages
1,580
Helped
122
Reputation
244
Reaction score
114
Trophy points
1,353
Location
Usa
Activity points
10,382
how to send a variable to display in 2X16 lcd

for example ;
unsigned in a = 9;
lcd_data(a);

how does display as 9.( means that the value of a; ie = 9)

thanks
 

add '0' to this number and send to LCD.
 

Greetings,
Code:
unsigned int a = 9;
[COLOR=#FF0000]a=a+48;[/COLOR]
lcddata(a);

Useful link : **broken link removed**
Good Luck
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…