User manual
mikroBasic PRO for PIC32
MikroElektronika
525
T6963C_cursor_blink
Prototype
sub procedure T6963C_cursor_blink(dim n as word)
Description Enable/disable cursor blinking.
Parameters - n: cursor blinking enable/disable parameter. Valid values: 0 (disable cursor blinking) and 1 (enable
cursor blinking).
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
‘ enable cursor blinking
T6963C_cursor_blink(1)
Notes None.
Library Example
The following drawing demo tests advanced routines of the T6963C Glcd library. Hardware congurations in this
example are made for the LV-32MX v6 board and PIC32MX460F512L.
Copy Code To Clipboard
program T6963C_240x128
include __Lib_T6963C_Consts
‘ T6963C module connections
dim T6963C_dataPort as byte at PORTD ‘ DATA port
dim T6963C_cntlPort as byte at PORTE ‘ DATA port
dim T6963C_ctrlwr as sbit at LATE2_bit ‘ WR write signal
dim T6963C_ctrlrd as sbit at LATE1_bit ‘ RD read signal
dim T6963C_ctrlcd as sbit at LATE0_bit ‘ CD command/data signal
dim T6963C_ctrlrst as sbit at LATE4_bit ‘ RST reset signal
dim T6963C_ctrlwr_Direction as sbit at TRISE2_bit ‘ WR write signal direction
dim T6963C_ctrlrd_Direction as sbit at TRISE1_bit ‘ RD read signal direction
dim T6963C_ctrlcd_Direction as sbit at TRISE0_bit ‘ CD command/data signal direction
dim T6963C_ctrlrst_Direction as sbit at TRISE4_bit ‘ RST reset signal direction
‘ Signals not used by library, they are set in main function
dim T6963C_ctrlce as sbit at LATE3_bit ‘ CE signal
dim T6963C_ctrlfs as sbit at LATE6_bit ‘ FS signal
dim T6963C_ctrlmd as sbit at LATE5_bit ‘ MD signal
dim T6963C_ctrlce_Direction as sbit at TRISE3_bit ‘ CE signal direction
dim T6963C_ctrlfs_Direction as sbit at TRISE6_bit ‘ FS signal direction
dim T6963C_ctrlmd_Direction as sbit at TRISE5_bit ‘ MD signal direction
‘ End T6963C module connections
dim panel as byte ‘ current panel
i as word ‘ general purpose register
curs as byte ‘ cursor visibility
cposx,