User manual
610
mikoC PRO for dsPIC
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 conî‚¿gurations in this
example are made for the dsPICPRO2 board and dsPIC30F6014A.
Copy Code To Clipboard
#include "__T6963C.h"
// T6963C module connections
char T6963C_dataPort at PORTB; // DATA port
sbit T6963C_ctrlwr at LATF2_bit; // WR write signal
sbit T6963C_ctrlrd at LATF1_bit; // RD read signal
sbit T6963C_ctrlcd at LATF0_bit; // CD command/data signal
sbit T6963C_ctrlrst at LATF4_bit; // RST reset signal
sbit T6963C_ctrlwr_Direction at TRISF2_bit; // WR write signal
sbit T6963C_ctrlrd_Direction at TRISF1_bit; // RD read signal
sbit T6963C_ctrlcd_Direction at TRISF0_bit; // CD command/data signal
sbit T6963C_ctrlrst_Direction at TRISF4_bit; // RST reset signal
// Signals not used by library, they are set in main function
sbit T6963C_ctrlce at LATF3_bit; // CE signal
sbit T6963C_ctrlfs at LATF6_bit; // FS signal
sbit T6963C_ctrlmd at LATF5_bit; // MD signal
sbit T6963C_ctrlce_Direction at TRISF3_bit; // CE signal direction
sbit T6963C_ctrlfs_Direction at TRISF6_bit; // FS signal direction
sbit T6963C_ctrlmd_Direction at TRISF5_bit; // MD signal direction
// End T6963C module connections
/*
* bitmap pictures stored in ROM
*/
const code char mikroE_240x128_bmp[];
const code char einstein[];