CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

printf() To MPLAB Output Window

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Bill_Smith



Joined: 06 Feb 2004
Posts: 26
Location: Curitiba, Brazil

View user's profile Send private message Visit poster's website

printf() To MPLAB Output Window
PostPosted: Tue Jun 08, 2004 7:03 pm     Reply with quote

I am writing some math functions for a PIC18F452 project, using the CCS PCWH compiler (3.202) and MPLAB 6.52, and I was wondering if anyone knows if there is a way to set up <stdio.h> to redirect printf outputs to MPLAB's Output Window on the PC?

I just want to test some math routines without connecting up a target board.

Thanks for any help.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jun 09, 2004 1:12 pm     Reply with quote

Quote:
I was wondering if anyone knows if there is a way to set up <stdio.h>
to redirect printf outputs to MPLAB's Output Window on the PC?

See the following thread on the Microchip forum. They show how to do it.
http://forum.microchip.com/tm.asp?m=34376
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group