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 CCS Technical Support

Print to console command window

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



Joined: 19 Jul 2013
Posts: 10

View user's profile Send private message

Print to console command window
PostPosted: Thu Oct 03, 2013 5:08 pm     Reply with quote

Hi all,

I am using the dsPIC33 MC, I want to know if there is a way to use the UARTx pins to print debugging statements to the command window or to the serial monitor which is included in the CCS IDE.

I am new to programming, so any pointers and or example code would help a lot. Thank you!
jeremiah



Joined: 20 Jul 2010
Posts: 1345

View user's profile Send private message

PostPosted: Thu Oct 03, 2013 6:08 pm     Reply with quote

Yes, but you'll need to get a chip to convert the PIC UART levels to PC RS232 levels. Otherwise it won't work.
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Fri Oct 04, 2013 7:49 am     Reply with quote

https://www.sparkfun.com/products/9716

get that, or the 3.3V version... depending on your needs..

or get the MAX232 chip as sugested by others if you do have a RS232 port in your machine.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
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