Luca Petro

Printf and Tiny library

Discussion created by Luca Petro on Jul 22, 2009
Latest reply on Jul 23, 2009 by Luca Petro

Hi all,

   I'm building a project with tiny library C_4i_CF_SZ.a

 

I want to use printf to write on my LCD display.

 

My routines are ok and tested. What I want to do is to redirect the printf to my proprietary function that use my GUI. 

As usual I tryed to redirect the stdout->write_proc to my function Write_Display.

I debugged my code and I'm sure that the correct address is filled in the right position of stdout structure, but when I use printf and fflush functions my proprietary function is not colled.

 

Where is my error??

 

Thanks for your support

Outcomes