A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
"TRACE" in MPLAB C18 Compiler - Basic Poke - May 12 17:44:59 2008
Is there any command or macro in the MPLAB C18 Compiler that will send
text to the output window, like MFC's TRACE or Visual Basic's
Debug.Print? Printf and puts appear to do nothing.
Thanks
BasicPoke
------------------------------------
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )
Re: "TRACE" in MPLAB C18 Compiler - Dennis Clark - May 12 18:10:14 2008
> Is there any command or macro in the MPLAB C18 Compiler that will send
> text to the output window, like MFC's TRACE or Visual Basic's
> Debug.Print? Printf and puts appear to do nothing.
> Thanks
If you have a USART connected and are using stdio.h then you can just use
printf(). That is a bit heavy handed though - We modified printf to limit
its formatting options to lighten up its footprint (strings, 8 bit and 16
bit) and called it debugprintf.
DLC
> BasicPoke
> ------------------------------------
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )