User manual

Table Of Contents
310
mikoC PRO for PIC32
MikroElektronika
S1D13700_Write_Command
Prototype
void S1D13700_Write_Command(char command);
Returns Nothing.
Description Writes a command to S1D13700 controller.
Parameters:
- command: command to be issued:
Requires Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
// Turn the display on
S1D13700_Write_Command(S1D13700_DISP_ON);
Value Description
S1D13700_SYSTEM_SET
General system settings.
S1D13700_POWER_SAVE
Enter into power saving mode.
S1D13700_DISP_ON
Turn the display on.
S1D13700_DISP_OFF
Turn the display off.
S1D13700_SCROLL
Setup text and graphics address regions.
S1D13700_CS_RIGHT
Cursor moves right after write to display
memory.
S1D13700_CS_LEFT
Cursor moves left after write to display
memory.
S1D13700_CS_UP
Cursor moves up after write to display
memory.
S1D13700_CS_DOWN
Cursor moves down after write to display
memory.
S1D13700_OVLAY
Congure how layers overlay.
S1D13700_CGRAM_ADR
Congure character generator RAM address.
S1D13700_HDOT_SCR
Set horizontal scroll rate.
S1D13700_CSRW
Set the cursor address.
S1D13700_CSRR
Read the cursor address.
S1D13700_GRAYSCALE
Selects the gray scale depth, in bits-per-pixel
(bpp).
S1D13700_MEMWRITE
Write to display memory.
S1D13700_MEMREAD
Read from display memory.