Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
SPI_T6963C_Cursor
SPI_T6963C_Cursor_Blink
Library Example
The following drawing demo tests advanced routines of the SPI T6963C Glcd library. Hardware
configurations in this example are made for the T6963C 240x128 display, EasyAVR5A board and
ATmega16.
436
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_T6963C_Cursor(dim as byte)
Returns
Nothing.3q
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 SPI_T6963C_Config routine.
Example
' set cursor on
SPI_T6963C_Cursor(1)
Prototype
sub procedure SPI_T6963C_Cursor_Blink(dim as byte)
Returns
Nothing.
Description
Enable/disable cursor blinking.
Parameters : 
n:
cursor blinking enable/disable parameter. Valid values: 0 (disable cursor  
blinking) and 1 (enable cursor blinking). 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
' enable cursor blinking
SPI_T6963C_Cursor_Blink(1)