Basic Features & Concepts

Command Syntax

Every Command in iLCD Manager XEJoC Manager starts with \i (command introducer - 0xAA).

[\i] [Command Code] ([Parameters:Values, Strings]) ({Comment})

[Command Code]
1-3 Bytes (ASCII-Code of the cmd characters)

[Parameters]
n-Bytes of Data (Note that 0xAA in the data has to be quoted (0xAA 0xAA), see
Syntax used in iLCD Manager XE).

Example

\iG\mName of Graphic\0 {Display Local Graphic}

Note: Not well formed commands will be marked with a wavy line.

For possible parameter types and the exact syntax see the Command Structure chapter in the help.

Attributes

In most cases the attributes for certain commands are set using seperate commands. For example, when defining a Touch Field with the Command Create/Define Touch Field the x/y-dimensions are set with the additional commands Set Touch Field Height and Set Touch Field Width.

The whole command sequence is:

\iTH\D200 {Set Touch Field Height}
\iTW\D200 {Set Touch Field Width}
\iTA\0k {Create/Define Touch Field}

Normally the set attribute values are valid for all subsequent commands. Exeptions are the alignment commands Set Graphic Alignment and Set Text Alignment, they are only valid for the following graphic or text command.

Frequently used attribute commands are:

Graphics

You can load static and animated graphics to the Flash memory or the micro SD Card of the iLCD and scale them.

The following formats are supported:

You can also draw graphical objects like Dots, Lines, Circles, Ellipses, etc. and apply colors and filling patterns.

Fonts

You can load a selection of characters using any Windows font to the Flash memory or the micro SD Card of the iLCD. Both ASCII and Unicode is supported. Text can be aligned, wrapped and scaled.

Touch Fields

Up to 64 rectanglular Touch Fields can be defined. The Touch Fields can be associated with macros which are executed when the Touch Field is pressed (Make Macro) or released (Break Macro).

Screens and Viewports

There is a Main Screen and 8 additional screens (0-7). This allows to draw in the background on a Draw Screen that is not visible. The visible screen is refered to as View Screen (See Screen Memory Related Commands).

In addition to the screens, screen areas can be defined as viewports with their own coordinates and orientation. In addition to viewport 0 (whole screen), there can be 8 viewports (1-8) in total for all screens (See Viewport Related Commands). A viewport can be defined on the currently active Draw Screen with the command \iCVD (Define Viewport).

Macros

Command sequences can be collected in macros and e.g. called by the host controller. Touch Events can be handled by associating Make (Press) and Break (Release) macros to Touch Fields. Macros can call other macros up to a nesting depth of 8.

Input/Output

Most ports of the 32 bit iLCD ControllerJoC can be assigned as digital or analog inputs or outputs.