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.

c18 itoa function problem

Status
Not open for further replies.

coshkun

Full Member level 2
Joined
Aug 27, 2005
Messages
126
Helped
18
Reputation
36
Reaction score
10
Trophy points
1,298
Activity points
2,212
c18 itoa

I'm trying to use simple integer-string conversion function itoa() (c18 compiler-18f452) but it just doesn't work.
int number;7

char str[7];
...
...
....
itoa(number,str)
putsUSART(str);

I get nothing on USART1.I checked USART works.what's the problem?

Added after 2 hours 23 minutes:

I forgot to say i was simulating the circuit on Proteus.It works on real board.:D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top