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

[SOLVED] Can't figure out how pins are defined in CCS

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



Joined: 26 Jul 2013
Posts: 23

View user's profile Send private message

[SOLVED] Can't figure out how pins are defined in CCS
PostPosted: Fri Mar 20, 2015 11:57 pm     Reply with quote

Hello all..

Does anyone know how the
Code:
output_high(PIN_B0)
function works or how it has been implemented ?

I thought that the functions takes PIN addresses but when I see the datasheet I see that PORT addresses are totally different from those defined in the header files.

I mean what does the following #define depict in the PIC16F887 header file ?

Code:
#define PIN_B0  48

_________________
PCWHD Compiler v4.124
ICD U-64 Hardware Rev 2 & 3
CCSLOAD 4.053


Last edited by muhibraza1 on Sat Mar 21, 2015 1:01 am; edited 1 time in total
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Mar 21, 2015 12:18 am     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=33924&start=1
muhibraza1



Joined: 26 Jul 2013
Posts: 23

View user's profile Send private message

PostPosted: Sat Mar 21, 2015 1:00 am     Reply with quote

ohh great...

thanks PCM
_________________
PCWHD Compiler v4.124
ICD U-64 Hardware Rev 2 & 3
CCSLOAD 4.053
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