function LCD.ReadModuleType(Resource)
local VersionNum
COM.ClearBufferIn(Resource)
LCD.SendCommand(Resource, "~254~055")
VersionNum = ""
while VersionNum == "" do
VersionNum = COM.GetData(Resource, 100)
print(VersionNum)
Sleep(50)
end
tblResult = _MISC.ConvertDecToTbl(VersionNum)
return VersionNum, LCD._VersionNumberString[tblResult[0]]
end
We though that the module would return "22" instead of "~255".
Someone knows how to solve this??
