Changes for page 05 Lua Script
Last modified by Devin Chen on 2025/03/04 14:07
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -229,7 +229,7 @@ 229 229 230 230 = **11 High-Low Byte Switch** = 231 231 232 - The example shows how to convert high bytes and low bytes for one 16bit address.Main function is like following:232 +Main function is like following: 233 233 234 234 {{code language="lua"}} 235 235 local lowByte = val & 0x00ff ... ... @@ -239,4 +239,4 @@ 239 239 local newVal = shiftHigh|shiftLow 240 240 {{/code}} 241 241 242 - [[Downloadlink>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/byteswitch.zip]]242 +