Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
312
mikoC PRO for PIC32
MikroElektronika
S1D13700_GrFill
S1D13700_TxtFill
S1D13700_Display_GrLayer
Prototype
void S1D13700_GrFill(char d);
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
void S1D13700_TxtFill(char d);
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
void S1D13700_Display_GrLayer(char mode);
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.