Mikroelektronika MIKROE-442 데이터 시트
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
557
SPI_T6963C_set_cursor
SPI_T6963C_clearBit
Prototype
sub procedure SPI_T6963c_set_cursor(dim x, y as byte)
Description Sets cursor to row x and column y.
Parameters -
Parameters -
x
: cursor position row number
-
y
: cursor position column number
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963c_set_cursor(cposx, cposy)
Notes
None.
Prototype
sub procedure SPI_T6963C_clearBit(dim b as byte)
Description Clears control port bit(s).
Parameters -
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_Config routine.
Example
‘ clear bits 0 and 1 on control port
SPI_T6963C_clearBit(0x0003)
Notes
None.
SPI_T6963C_setBit
Prototype
sub procedure SPI_T6963C_setBit(dim b as byte)
Description Sets control port bit(s).
Parameters -
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_Config routine.
Example
‘ set bits 0 and 1 on control port
SPI_T6963C_setBit(0x0003)
Notes
None.