User manual
mikroPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
556
SPI_T6963C_set_cursor
SPI_T6963C_clearBit
Prototype
procedure SPI_T6963C_set_cursor(x, y : byte);
Description Sets cursor to row x and column y.
Parameters - x: cursor position row number
- y: cursor position column number
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_set_cursor(cposx, cposy);
Notes None.
Prototype
procedure SPI_T6963C_clearBit(b : byte);
Description Clears control port bit(s).
Parameters - b: bit mask. The function will clear bit x on control port if bit x in bit mask is set to 1.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
// clear bits 0 and 1 on control port
SPI_T6963C_clearBit(0x03);
Notes None.
SPI_T6963C_setBit
Prototype
procedure SPI_T6963C_setBit(b : byte);
Description Sets control port bit(s).
Parameters - b: bit mask. The function will set bit x on control port if bit x in bit mask is set to 1.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
// set bits 0 and 1 on control port
SPI_T6963C_setBit(0x03);
Notes None.