On 24 Mar 2005 at 9:15, neptunus1000 wrote:
>
>
> Hello,
>
> I'wondering why my classes are not working. I want to build a Com
> class so a can use printf to put something on the uart.
>
> The functie's com.UARTWriteChar('x'); com.__putchar('\n'); in the main
> are working good. But the printf is not working. Can some one help my.
{Code snipped]
Getting printf to output using your own routines, is more a question of porting the
standard C library than anything else. Which compiler do you use, and which standard
library ? If it is newlib, then look at the new-lib_lpc stubs library to see an example of
how to port newlib.
Regards
Anton Erasmus
--
A J ErasmusMessage
Re: [lpc2000] printf
2005-03-24 by Anton Erasmus
Attachments
- No local attachments were found for this message.