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

lcd underline or blink character

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



Joined: 07 Sep 2003
Posts: 60
Location: Buenos Aires (Argentina)

View user's profile Send private message Send e-mail MSN Messenger

lcd underline or blink character
PostPosted: Sun Aug 15, 2004 3:57 pm     Reply with quote

How I could do, whit the
lcd.c dirver, that in the
positio x,y, the apper the
underline or the character blick

Thanks
_________________
Best Regards
Daniel H. Sagarra
La Plata (Argentina)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Aug 15, 2004 6:07 pm     Reply with quote

Here is one way to do it:

Find this line in the LCD.C driver file:
byte CONST LCD_INIT_STRING[4] = {0x20 | (lcd_type << 2), 0xC, 1,6};
The value shown in bold is the one that controls the cursor.
The default value in the CCS driver is 0x0C. You can set it
to other values, as shown in the table below:
Code:

Value   Cursor  Blink
0x0C     Off      Off 
0x0D     Off      On 
0x0E     On       Off 
0x0F     On       On
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