
Page 27
Copyright © 2017 Matrix Technology Solutions Limited
www.matrixtsl.com
Display
Return
Command
Parameter(s)
Description
LCDClear
Clears all data on the LCD screen.
LCDPrint
Text
Print text on the LCD.
Text = <string>
LCDNumber
Number
Prints a number on the LCD.
Number = -32768 to 32787
LCDCursor
X
Y
Moves the LCD cursor to the selected X,Y position.
X = 0 to 19
Y = 0 to 4
LCDLine
X1
Y1
X2
Y2
Draws a line on the LCD from coordinates X1,Y1 to X2,Y2
X1 = 0 to 119
Y1 = 0 to 49
X2 = 0 to 119
Y2 = 0 to 49
LCDRect
X1
Y1
X2
Y2
Draws a rectangle on the LCD from coordinates X1,Y1 to
X2,Y2
X1 = 0 to 119
Y1 = 0 to 49
X2 = 0 to 119
Y2 = 0 to 49
LCDPixel
X
Y
State
Controls a single pixel on the LCD at the specified coordi-
nates.
X = 0 to 119
Y = 0 to 49
State = 0 to 1 - 0=White / 1=Black
LCDBitmap
X
Y
Filename
Reads a monochrome or 24-bit colour bitmap file from the
SD card and draws on the display
X = 0 to 119
Y = 0 to 49
Filename = “filename.bmp”
LCDOptions
Foreground
Background
Transparent
Sets the options for drawing to the LCD
Foreground = 0 to 1
Background = 0 to 1
Transparent = 0 to 1
LCDBacklight
Brightness
Controls the brightness of the LCD backlight
Brightness = 0 to 100 - 0=Off / 100=Brightest
LCDVerbose
Value
Allows the LCD to be used to display the API calls as they
are received
Value = 0 to 1 - 0=Verbose Off / 1=Verbose On
API Documentation
Display and Relay
MIAC AllCode
Instructional Guide
Relay Outputs
Return
Command
Parameter(s)
Description
WriteRelay
Channel
Value
Writes a value to control a single relay output
Channel = 1 to 4
Value = 0 to 1
WriteRelays
Value
Writes a value to control all four relays at once
Value = 0 to 15
Содержание MI3932 MIAC AllCode
Страница 1: ......