Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
T6963C_Cursor
T6963C_Cursor_Blink
Library Example
The following drawing demo tests advanced routines of the T6963C Glcd library. Hardware con-
figurations in this example are made for the T6963C 240x128 display, EasyAVR5A board and
ATmega16.
458
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure T6963C_Cursor(dim as byte)
Returns
Nothing.
Description
Set cursor on/off.
Parameters : 
n:
on/off parameter. Valid values: 
0
(set cursor off) and 
1
(set cursor on). 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
' set cursor on
T6963C_Cursor(1)
Prototype
sub procedure T6963C_Cursor_Blink(dim as byte)
Returns
Nothing.
Description
Enable/disable cursor blinking.
Parameters : 
n:
on/off parameter. Valid values: 0 (disable cursor blinking) and 1 (enable  
cursor blinking). 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
' enable cursor blinking 
T6963C_Cursor_Blink(1)