Download User Manual - Image Hosted on

Transcript
EarthLCD.com
ezLCD-30x User Manual
Appendix D: EarthSEMPL Command Reference Guide
A quick reference guide of the EarthSEMPL command set that can run on the ezLCD-30x are listed
below.
Input values can be up to 65535. Strings can be upto 64 characters.
Examples and descriptions are provided for each command in the table. Note that this command list is
updated from time to time and you should check the ezLCD-30x product page at EarthLCD.com for the
latest documentation.
TABLE 1
COMMAND
SHO
RT
FOR
M
SYNTAX
EXAMPLE
DESCRIPTION & OPTIONS
RESET
29
RESET
RESET
Reset ezLCD as if just turned on
CLS
2
CLS index
CLS 1
Clear screen to COLORID[color] and clear
widgets. Bad name picks BLACK
2
CLS color
CLS RED
Clear screen to COLORID[color] and clear
widgets. Bad name picks BLACK
PING
3
PING
PING
Asks LCD to send acknowledge with PONG
VERBOSE
106
VERBOSE [ON] or [OFF] or [0]
or [1]
VERBOSE ON
Sets verbose (command echo) mode on(1) or
off(0)
LIGHT
5
LIGHT brightness
LIGHT 87
Backlight level to brightness when brightness
is 0 to 100%. Default is 75%
5
LIGHT
LIGHT
Return current backlight level setting
6
COLOR index
COLOR 0
Set current color to COLORID[index] (0-199)
6
COLOR
COLOR
Return current color
7
COLORID index R G B
COLORID 1 45 56 64
Set color id n to R, G, B
7
COLORID index
COLORID 1
Return color values of COLORID index
10
FONT font
FONT 0
Use internal font (factory) Currently 0 and 2 =
default medium font
10
FONT font
FONT "med_36"
Use programmable font (ezf file) from flash
drive
FONTW
11
FONTW index font
FONTW 0 “med_36”
Use programmable widget font (ezf file) from
flash drive for each of 16 Themes.
FONTO
12
FONTO orientation
FONTO 0
Set font orientation 0=horizontal, 1=vertical
12
FONTO
FONTO
Return font orientation
105
THRESHOLD value
THRESHOLD 256
Value used for sensitivity of touch screen.
COLOR
COLORID
FONT
THRESHOLD
51