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

port problem

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



Joined: 04 Jun 2006
Posts: 35

View user's profile Send private message

port problem
PostPosted: Thu Jun 08, 2006 1:10 am     Reply with quote

i wwant to send data to port b;

when i use these expressýons :

port_b
portb
pb

all gives same error:

** Error 12 "C:\Documents and Settings\as\Desktop\c\ekran.c" Line 18(1,7): Undefined identifier port_b

why i do not understand::

thanks for help
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 08, 2006 1:48 am     Reply with quote

Header file for 16F877:
http://www.ccsinfo.com/forum/viewtopic.php?t=296
A shorter version with registers only:
http://www.ccsinfo.com/forum/viewtopic.php?t=15530

A thread with header files for some 18F Pics:
http://www.ccsinfo.com/forum/viewtopic.php?t=14755
Ttelmah
Guest







PostPosted: Thu Jun 08, 2006 2:51 am     Reply with quote

Or just use 'output_b(val_to_send);' which is already in the compiler...

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