Jun 23, 2007 #1 C 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.
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.