User Configuration Keys
Added the following User Configuration Keys:
|
|
Rs232ReadyOff
|
Used only for RS232 handshake (if enabled). Specifies the number of bytes in the input data buffer, at which RTS is set to Hi or Xoff is sent by the ezLCD+.
|
|
Rs232ReadyOn
|
Used only for RS232 handshake (if enabled). Specifies the number of bytes in the input data buffer, at which RTS is reset to Lo or Xon is sent by the ezLCD+.
|
|
StartUpLua
|
Lua program executed at Power-up. The value specifies the index of the User ROM Lua program to be executed upon power-up
|
External Commands
Added the following External Commands:
|
|
CALIBRATE_TOUCH
|
Starts the touch screen calibration procedure
|
|
CRC_PKG
|
Sends CRC-protected data package to the ezLCD+. Data will be executed by ezLCD+ only if CRCs match.
|
|
RUN_LUA_ROM
|
Runs a Lua program from the User ROM
|
|
RUN_LUA_ROM
|
Runs a Lua program from the SD card
|
Changed:
|
|
RUN_LUA
|
Runs a Lua program
|
Lua API
Added Buffer-Mode RS232 input processing
Added the following Lua API functions:
|
|
RS232Tx(Data)
|
Transmits data through the RS232 port
|
|
Rs232Tx
(Data, MaxLen)
|
Transmits data through the RS232 port
|
|
Rs232RxLen()
|
Finds out how many unread bytes are in the RS232 Input Buffer. Makes sense only if RS232 port is opened in the Buffer Mode.
|
|
Rs232getc()
|
Reads bytes from the RS232 Input Buffer. Makes sense only if RS232 port is opened in the Buffer Mode.
|
|
Rs232Open(...)
|
Added functions which open RS232 in the Buffer Mode
|
Added the following Lua API Constants:
|
|
Width
|
Width of the screen in pixels
|
|
Height
|
Height of the screen in pixels
|
|
BytesPerPixel
|
Number of bytes per pixel
|
|
FirmVer
|
ezLCD+ firmware version
|
|
LuaVer
|
Lua version
|
|
NoOfFrames
|
Number of available full-screen frames
|
|
NoOfPicts
|
Number of pictures in the User ROM
|
|
NoOfBmFonts
|
Number of bitmap fonts in the User ROM
|
|
NoOfFtFonts
|
Number of true type fonts in the User ROM
|
|
NoOfLuaPgms
|
Number of Lua programs User ROM
|
|
RomSize
|
Total size of the User ROM in bytes
|
|
RomUsed
|
Number of bytes in the User ROM used for pictures, fonts and Lua
programs
|
|
RomFree
|
Number of bytes available in the User ROM
|