User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
543
T6963C_write_char
Prototype
void T6963C_write_char(unsigned char c, unsigned char x, unsigned char y,
unsigned char mode);
Description Writes a char in the current text panel of Glcd at coordinates (x, y).
Parameters - c: char to be written
- x: char position on x-axis
- y: char position on y-axis
- mode: mode parameter. Valid values: T6963C_ROM_MODE_OR, T6963C_ROM_MODE_XOR,
T6963C_ROM_MODE_AND and T6963C_ROM_MODE_TEXT
Mode parameter explanation:
- OR Mode: In the OR-Mode, text and graphics can be displayed and the data is logically “OR-ed”. This
is the most common way of combining text and graphics for example labels on buttons.
- XOR-Mode: In this mode, the text and graphics data are combined via the logical “exclusive OR”.
This can be useful to display text in the negative mode, i.e. white text on black background.
- AND-Mode: The text and graphic data shown on display are combined via the logical “AND
function”.
- TEXT-Mode: This option is only available when displaying just a text. The Text Attribute values are
stored in the graphic area of display memory.
For more details see the T6963C datasheet.
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
T6963C_write_char(‘A’,22,23,T6963C_ROM_MODE_AND);
Notes None.