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 18:31
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#72964 - RE: Redirect output: LCD and/or RS232
Responding to: ???'s previous message
I have done this by creating new functions like LCD_putchar() or LCD_putstring(). I just copy the standard putchar() function and replace the serial code with the LCD driver call (all my LCD drivers are written in assembler).

I tend to avoid printf() since I have found it easier to format the data myself. I typically only use one or two different formats, so it is a lot less code than printf().

-- Tom Bachmann

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