ANSI Support

Private ANSI Extensions

The iLCD's private ANSI extensions are not covered by an independent specification, so they will work on iLCD displays only.

Sequence Description
\u001B { <x> ; <y> H Go to <x> <y> pixel position (1-based)
\u001B { <x> ; <y> f Go to <x> <y> pixel position (1-based)
\u001B { H Go to home
\u001B { f Go to home
\u001B { <n> F Select font number <n> (1-based, 0 = startup font)
\u001B { <n> G Paint graphic number <n> (1-based, 0 = startup graphic)
\u001B { <n> s Save cursor & attributes to memory position <n> (0 ... 7)
\u001B { s Save cursor & attributes to memory position 0
\u001B { <n> u Restore cursor & attributes from memory position <n> (0 ... 7)
\u001B { u Restore cursor & attributes from memory position 0

Example

Draw.writeText("\u001B{H" + "Go to home");

See also:

Standard ANSI Sequences