Mikroelektronika MIKROE-724 データシート

ページ / 726
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
559
SPI_T6963C_setGrPanel
SPI_T6963C_setTxtPanel
Prototype
sub procedure SPI_T6963C_setGrPanel(dim n as word)
Description Compute start address for selected graphic panel and set appropriate internal pointers. All subsequent 
graphic operations will be preformed at this graphic panel.
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
‘ set graphic panel 1 as current graphic panel.
SPI_T6963C_setGrPanel(1)
Notes
None.
Prototype
sub procedure SPI_T6963C_setTxtPanel(dim n as word)
Description Compute start address for selected text panel and set appropriate internal pointers. All subsequent 
text operations will be preformed at this text panel.
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
‘ set text panel 1 as current text panel.
SPI_T6963C_setTxtPanel(1)
Notes
None.
SPI_T6963C_panelFill
Prototype
sub procedure SPI_T6963C_panelFill(dim v as word)
Description Fill current panel in full (graphic+text) with appropriate value (0 to clear).
Parameters 
v
: value to fill panel with. 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
‘ clear current panel
SPI_T6963C_panelFill(0)
Notes
None.