TiLCDMatrix.SetCharactorRowData
TiLCDMatrix
Used to modify the character set through code, dynamically at runtime .
procedure SetCharactorRowData(CharacterIndex, RowIndex, Value: Integer);
Description
Call SetCharacterRowData to modify a specific character in the currently
loaded Character Set. The CharacterIndex parameter refers to the ASCII character of
the character you are modifying. The RowIndex parameter refers to the cell
row you are modifying. In a 5x7 matrix, there are 7 rows. The Value refers to
the bit value for all dots in the row you are modifying. The LCD Matrix
supports between 1 and 32 bits per row.
For example, a 5x7 character has 7 rows and 5 bits. The following code would
re-create the A character shown below for ASCII Character Code 65...
iComponent.SetCharacterRowData(65, 0, 14);
iComponent.SetCharacterRowData(65, 1, 17);
iComponent.SetCharacterRowData(65, 2, 17);
iComponent.SetCharacterRowData(65, 3, 31);
iComponent.SetCharacterRowData(65, 4, 17);
iComponent.SetCharacterRowData(65, 5, 17);
iComponent.SetCharacterRowData(65, 6, 17);
Example
Delphi
iComponent.SetCharacterRowData(65, 0, 14);
C++ Builder
iComponent->SetCharacterRowData(65, 0, 14);
Contents | Index | Previous | Next