override printf

Hi! Is there a way to override the stdio function printf so that printf goes to my LCD driver? thanks!

I don’t know if this will help but it is possible to redirect stdio to a serial port.
see SAMPLES/STDIO_SERIAL.C for an example.

If this doesn’t help perhaps you could use sprintf and then pass the resulting string to you LCD driver.

This is what your going to have to do.

Sounds good. I was trying to use straight debug output from library code in my application to output to LCD. But no, that’s okay.

I thought thats what you might be doing, if you like i can look up some of my older code that does that.

nah, don’t bother.