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

LCD with SPI interface

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



Joined: 03 Feb 2010
Posts: 1

View user's profile Send private message

LCD with SPI interface
PostPosted: Wed Feb 03, 2010 8:40 am     Reply with quote

Hello
I'm actually new in programming PIC with CCS. And I have buy a demo board for pic 18 (DM183032)
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en535770

On this board the LCD is connected to a SPI I\O expander (MCP23S17).
And the I\O expender has a SPI interface that connect it to the microcontroller (PIC18F8722)

So if I'm right this is a serial communication and the example of code just ahead can not be used for this case.

So my question is:

Does anybody have a example of source code for the command of a LCD display with a SPI interface??

I have searching the forum but without result :-(


Thank you

PS: sorry for my English I'm FR...
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 03, 2010 1:19 pm     Reply with quote

Look at this thread on the Microchip forum:
http://www.microchip.com/forums/tm.aspx?m=368990&mpage=1
At the end of the thread, there is a post by jblackann_tt which has
a link "Attachment(4)" at the end. It has C18 source code for an
LCD driver for the PIC18 Explorer Board. It's written in a fairly
primitive manner. With CCS, we normally write code at a higher
level than that. But, it could be translated to CCS.

Or, you could switch to the Microchip C18 compiler.
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