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 20:02
Read: times


 
#72968 - RE: Redirect output: LCD and/or RS232
Responding to: ???'s previous message
I am still a bit confused regarding the use of putchar.
If say i have to display a counter value ex. 35844 stored in a variable (x) i would use the printf function like - printf("Counter: %05u n", x)
How do i format this in a patchar ?

You do not. Printf uses putchar, so whatever you tell porintf to do end up in calls to putchar.

Erik


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