View previous topic :: View next topic |
Author |
Message |
Calamar
Joined: 07 Sep 2003 Posts: 60 Location: Buenos Aires (Argentina)
|
lcd underline or blink character |
Posted: Sun Aug 15, 2004 3:57 pm |
|
|
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
|
|
Posted: Sun Aug 15, 2004 6:07 pm |
|
|
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
|
|
|
|
|