Mikroelektronika MIKROE-442 Datenbogen
558
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
SPI_T6963C_negBit
SPI_T6963C_displayGrPanel
Prototype
sub procedure SPI_T6963C_negBit(dim b as byte)
Description Negates control port bit(s).
Parameters -
Parameters -
b
: bit mask. The function will negate 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
‘ negate bits 0 and 1 on control port
SPI_T6963C_negBit(0x0003)
Notes
None.
Prototype
sub procedure SPI_T6963C_displayGrPanel(dim n as word)
Description Display selected graphic panel.
Parameters -
Parameters -
n
: graphic panel number. Valid values:
0
and
1
.
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
‘ display graphic panel 1
SPI_T6963C_displayGrPanel(1)
Notes
None.
SPI_T6963C_displayTxtPanel
Prototype
sub procedure SPI_T6963C_displayTxtPanel(dim n as word)
Description Display selected text panel.
Parameters -
Parameters -
n
: text panel number. Valid values:
0
and
1
.
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
‘ display text panel 1
SPI_T6963C_displayTxtPanel(1)
Notes
None.