Knowledge Base

Literal formatting function L(item {,item …})

The Literal formatting function is a catch-all that lets you send any arbitrary character to the display. Its arguments consist of one or more items, separated by commas.

Items can be:

FormDescriptionExample
"string"Any text string in quotes#HMI Print(L("Hello World") ;Legal, but probably pointless
NumberAn 8-bit number (0 to 255) in SPLat format. This defines the ASCII character that will be sent to the display.#HMI Print(L('0D, '0A)) ;Send CR/LF to the display

You cannot have other formatting functions inside L()

Note that while the syntax is case-insensitive, it makes sense to use upper case L to avoid confusion with a numeral 1.