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

PIC24FJ256GB206 and PPS

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



Joined: 17 Dec 2012
Posts: 5

View user's profile Send private message

PIC24FJ256GB206 and PPS
PostPosted: Mon Dec 17, 2012 2:54 am     Reply with quote

Hi

Can anyone help me, and show how to make a setup of PIC24FJ256GB206 ?

I want to use pin 32 as RP17, as digital OUTPUT.

I am using PCWHD 4.135.

Is there some file as PPS.h file to use whit PIC24FJ256GB206 to help with this?

Best regards
John
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Mon Dec 17, 2012 3:25 pm     Reply with quote

look at the preprocessor command

#pin_select

in the CCS help manual.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Birepo



Joined: 17 Dec 2012
Posts: 5

View user's profile Send private message

PostPosted: Tue Dec 18, 2012 2:57 am     Reply with quote

This is a misunderstanding from my part.

The HW man has writen RP17 (CHIP Pin 32) but it was a normal Digital port, on this chip it is RF5.

I'm sorry for the inconvenience
John
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Tue Dec 18, 2012 3:36 pm     Reply with quote

CCS takes care of the RPxx conversion for you.

So the resulting syntax is something like:

Code:
#pin_select U2TX=PIN_D6
#pin_select U2RX=PIN_D7

_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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