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

24FJ128GA108.h error

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



Joined: 28 Aug 2007
Posts: 106

View user's profile Send private message

24FJ128GA108.h error
PostPosted: Thu Nov 19, 2009 5:05 am     Reply with quote

Hello,

the Header file for the 24FJ128GA108.h seems to have missing PIN definitions.

Compiler Version 4.095

PIN_G0 and PIN_G1 are missing:

#define PIN_F7 5975
#define PIN_F8 5976

#define PIN_G2 6034
#define PIN_G3 6035
#define PIN_G6 6038
#define PIN_G7 6039
#define PIN_G8 6040
#define PIN_G9 6041


Can I add that, or is there a workarround? What are the numbers behind the definition?
bungee-



Joined: 27 Jun 2007
Posts: 206

View user's profile Send private message

PostPosted: Thu Nov 19, 2009 5:47 am     Reply with quote

Try with:

#define PIN_G0 6032
#define PIN_G1 6033

Numbers are "pointers" where the actual pin resides Wink
Ttelmah
Guest







PostPosted: Thu Nov 19, 2009 9:48 am     Reply with quote

The formula for pin numbers, is the physical register address, * 8, plus the bit number.

Best Wishes
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