User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
313
S1D13700_Display_TxtLayer
S1D13700_Set_Cursor
Prototype
void S1D13700_Display_TxtLayer(char mode);
Returns Nothing.
Description Display selected text layer.
Parameters:
- mode: text layer mode. Valid values:
Requires Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
// Display on text layer
S1D13700_Display_TxtLayer(S1D13700_LAYER_ON);
Prototype
void S1D13700_Set_Cursor(char width, char height, char mode);
Returns Nothing.
Description Sets cursor properties.
Parameters:
- width: in pixels-1 (must be less than or equal to the horizontal char size).
- height: in lines-1 (must be less than or equal to the vertical char size).
- mode: cursor mode. Valid values:
Requires Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
// set cursor with the following properties : width 5px, height 10px, cursor
shape - block
S1D13700_Set_Cursor(5, 10, S1D13700_CURSOR_BLOCK);
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 ash it at the rate of 2 Hz.
S1D13700_LAYER_FLASH_16Hz
Turn on graphic layer and ash it at the rate of 16 Hz.
Value Description
S1D13700_CURSOR_UNDERSCORE
Set cursor shape - underscore.
S1D13700_CURSOR_BLOCK
Set cursor shape - block.