Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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
India
Activity points
10,388
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top