Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/22/04 21:33
Read: times


 
#72972 - printf uses putchar
Responding to: ???'s previous message
Bjarke BC Nielsen said:
i would use the printf function like - printf("Counter: %05u n", x)
How do i format this in a patchar?

erik malund said:
You do not. Printf uses putchar, so whatever you tell printf to do ends up in calls to putchar.

Exactly.

This was all explained in the Keil links I posted originally.
It is also explained in the Keil manuals.

List of 7 messages in thread
TopicAuthorDate
Redirect output: LCD and/or RS232            01/01/70 00:00      
   RE: Redirect output: LCD and/or RS232            01/01/70 00:00      
   RE: Redirect output: LCD and/or RS232            01/01/70 00:00      
      reduced printf            01/01/70 00:00      
   RE: Redirect output: LCD and/or RS232            01/01/70 00:00      
      RE: Redirect output: LCD and/or RS232            01/01/70 00:00      
         printf uses putchar            01/01/70 00:00      

Back to Subject List