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 Data pins 0-3

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



Joined: 08 Dec 2012
Posts: 7

View user's profile Send private message

LCD Data pins 0-3
PostPosted: Sun Dec 16, 2012 2:24 am     Reply with quote

Rookie here!
Why don't we ever use lcd pins 0 to 3?
_________________
Believe it!
Ttelmah



Joined: 11 Mar 2010
Posts: 19535

View user's profile Send private message

PostPosted: Sun Dec 16, 2012 10:05 am     Reply with quote

You do, if you use 8bit mode.
4bit mode only uses the top four pins, Read the LCD data sheet. Key thing is that LCD's are _slow_. Something like a clear screen command (for example), takes 40mSec to execute. 4bit mode adds a couple of uSec to the communication, and saves four pins on the PIC. You can drive the display with just 6 pins from the PIC if you want. Given that in most cases saving pins is more important than the tiny extra time, the standard drivers use 4bit mode.

Best Wishes
Maliha



Joined: 08 Dec 2012
Posts: 7

View user's profile Send private message

PostPosted: Sun Dec 16, 2012 10:36 am     Reply with quote

oh ok! thanks a lot Smile
_________________
Believe it!
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