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 support@ccsinfo.com

flex lcd 16x2 question

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



Joined: 14 Oct 2008
Posts: 103

View user's profile Send private message

flex lcd 16x2 question
PostPosted: Sat Jun 18, 2011 3:09 am     Reply with quote

I'm using flex lcd 16x2 driver in my project. is it possible to use this driver to make a certain character blink or highlight?.
temtronic



Joined: 01 Jul 2010
Posts: 9134
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 5:11 am     Reply with quote

Those features are a dependent on the LCD you have,not the driver.Consult the datasheet for your LCD.If it lists them there will be a 'command' or 'control' sequence to enable/disable those features. It is easy to add those commands into the flex_lcd driver.Be sure to make a copy the original driver,naming it 'myLCDdriver' or similar and modify that NOt the original driver!
aruna1



Joined: 14 Oct 2008
Posts: 103

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 5:32 am     Reply with quote

temtronic wrote:
Those features are a dependent on the LCD you have,not the driver.Consult the datasheet for your LCD.If it lists them there will be a 'command' or 'control' sequence to enable/disable those features. It is easy to add those commands into the flex_lcd driver.Be sure to make a copy the original driver,naming it 'myLCDdriver' or similar and modify that NOt the original driver!


I see.
this is the datasheet of the LCD
http://www.e-gizmo.com/PRODUCT/ELECTRO/Datasheet/Display/JHD162A%20SERIES.pdf

I couldnt find anything like that. can you please give it a look
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 11:56 am     Reply with quote

There is a function in the Code Library to turn the hardware LCD cursor
on/off and to turn cursor blinking on/off. It works with the Flex driver:
http://www.ccsinfo.com/forum/viewtopic.php?t=24668
temtronic



Joined: 01 Jul 2010
Posts: 9134
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 12:51 pm     Reply with quote

I'm not impressed
That datasheet is terrible ! All the 'good' details are missing.
Seems to be dased on the KS0066 LCD module...
You should google 'ks0066 LCD' and see if you can find a COMPLETE data sheet with ALL the commands and functions.
aruna1



Joined: 14 Oct 2008
Posts: 103

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 9:12 pm     Reply with quote

PCM programmer wrote:
There is a function in the Code Library to turn the hardware LCD cursor
on/off and to turn cursor blinking on/off. It works with the Flex driver:
http://www.ccsinfo.com/forum/viewtopic.php?t=24668


Thank you. Is it possible to use this to blink any character already displayed in LCD to blink? even character in middle of a word?
aruna1



Joined: 14 Oct 2008
Posts: 103

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 9:12 pm     Reply with quote

temtronic wrote:
I'm not impressed
That datasheet is terrible ! All the 'good' details are missing.
Seems to be dased on the KS0066 LCD module...
You should google 'ks0066 LCD' and see if you can find a COMPLETE data sheet with ALL the commands and functions.


Thanks I'll try that datasheet Very Happy
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 9:29 pm     Reply with quote

You could re-position the cursor, using the lcd_gotoxy() function.
Then enable blinking using the function in the previously posted link.

To do it without using the above method takes a special lcd driver
which is written for that purpose.
aruna1



Joined: 14 Oct 2008
Posts: 103

View user's profile Send private message

PostPosted: Sat Jun 18, 2011 9:57 pm     Reply with quote

PCM programmer wrote:
You could re-position the cursor, using the lcd_gotoxy() function.
Then enable blinking using the function in the previously posted link.

To do it without using the above method takes a special lcd driver
which is written for that purpose.

coooool thanks Very Happy
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