Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
554
mikoC PRO for PIC32
MikroElektronika
T6963C_cursor_blink
Prototype
void T6963C_cursor_blink(unsigned int n);
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  configurations  in  this 
example are made for the LV-32MX v6 board and PIC32MX460F512L.
Copy Code To Clipboard 
#include        “__T6963C.h”
// T6963C module connections
unsigned long T6963C_dataPort at PORTD;          
// DATA port
unsigned long T6963C_cntlPort at PORTE;          
// CTRL port
sbit T6963C_ctrlwr  at LATE2_bit;                
// WR write signal
sbit T6963C_ctrlrd  at LATE1_bit;                
// RD read signal
sbit T6963C_ctrlcd  at LATE0_bit;                
// CD command/data signal
sbit T6963C_ctrlrst at LATE4_bit;                
// RST reset signal
sbit T6963C_ctrlwr_Direction at TRISE2_bit;      
// WR write signal
sbit T6963C_ctrlrd_Direction at TRISE1_bit;      
// RD read signal
sbit T6963C_ctrlcd_Direction at TRISE0_bit;      
// CD command/data signal
sbit T6963C_ctrlrst_Direction at TRISE4_bit;     
// RST reset signal
// Signals not used by library, they are set in main function
sbit T6963C_ctrlce at LATE3_bit;                 
// CE signal
sbit T6963C_ctrlfs at LATE6_bit;                 
// FS signal
sbit T6963C_ctrlmd at LATE5_bit;                
 // MD signal
sbit T6963C_ctrlce_Direction at TRISE3_bit;      
// CE signal direction
sbit T6963C_ctrlfs_Direction at TRISE6_bit;      
// FS signal direction
sbit T6963C_ctrlmd_Direction at TRISE5_bit;      
// MD signal direction
// End T6963C module connections
/*
 * bitmap pictures stored in ROM
 */
const code char mikroE_240x128_bmp[];
const code char einstein[];