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

Defining different Ports for LCD

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



Joined: 24 Feb 2005
Posts: 32

View user's profile Send private message

Defining different Ports for LCD
PostPosted: Sun Mar 30, 2008 1:19 pm     Reply with quote

Hello,

I have a question about connecting an LCD. The LCD is connected to a PIC16F873A. DB0..DB5 are connected to Port_A 0..5. DB6..DB7 is connected to Port_C 0..1. How do I define these Ports to write to the LCD with only one 8Bit-value?

Can I use the lcd.c file in my hardware setup? I tried to add it in my project file, but if I build the project, I get the errormessage "Invalid Option: +EXPORT". But this option is not set in the build options. What could be the problem?

Best regards

Olaf
Compiler Version 3.232
MPLAB 8.02
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 1:54 pm     Reply with quote

Quote:
How do I define these Ports ?

Use this LCD driver. It's a lot easier to use:
http://www.ccsinfo.com/forum/viewtopic.php?t=24661


Quote:
I tried to add it in my project file, but if I build the project, I get the errormessage "Invalid Option: +EXPORT".

See the answers in this thread. They explain how to use multiple source
files with CCS in MPLAB.
http://www.ccsinfo.com/forum/viewtopic.php?t=34094
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