Mikroelektronika MIKROE-724 データシート

ページ / 726
328
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
S1D13700_GrFill
S1D13700_TxtFill
S1D13700_Display_GrLayer
Prototype
sub procedure S1D13700_GrFill(dim d as byte)
Returns
Nothing.
Description Fill graphic layer with appropriate value (0 to clear).
Parameters: 
d
: value to fill graphic layer with. 
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
‘ clear current graphic panel
 
S1D13700_GrFill(0)
Prototype
sub procedure S1D13700_TxtFill(dim d as byte)
Returns
Nothing.
Description Fill current text panel with appropriate value (0 to clear).
Parameters: 
d
: this value will be used to fill text panel. 
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
‘ clear current text panel
S1D13700_TxtFill(0)
Prototype
<sub procedure S1D13700_Display_GrLayer(dim mode as byte)
Returns
Nothing.
Description Display selected graphic layer.
Parameters:
mode
: graphic layer mode. Valid values: 
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
‘ Turn on graphic layer
S1D13700_Display_GrLayer(S1D13700_LAYER_ON)
Value
Description
S1D13700_LAYER_OFF
Turn off graphic layer.
S1D13700_LAYER_ON
Turn on graphic layer.
S1D13700_LAYER_FLASH_2Hz
Turn on graphic layer and flash it at the rate of 2 Hz.
S1D13700_LAYER_FLASH_16Hz
Turn on graphic layer and flash it at the rate of 16 Hz.