Closed JacobChrist closed 1 year ago
Describe the issue A clear and concise description of what the issue is.
The rs485.lua example has this code:
-- ez.SerialTx(Data, MaxLen, PortNo) ez.SerialTx(ez.SerialNo, 24, 1)
The ezLCD Lua Application Programming Interface (Section 30.4 p. 128) describes the ez.SerialTx() as such:
ez.SerialTx(Data [, PortNo [, MaxLen ]])
One of the two is incorrect. Randy says that the rs485.lua is working code, if so then the documentation is in error.
MaxLen and PortNo are reversed in the docs. PortNo should be the last param. Fixed in docs updated on or after 3/29/23.
Thanks.
Describe the issue A clear and concise description of what the issue is.
The rs485.lua example has this code:
The ezLCD Lua Application Programming Interface (Section 30.4 p. 128) describes the ez.SerialTx() as such:
ez.SerialTx(Data [, PortNo [, MaxLen ]])
One of the two is incorrect. Randy says that the rs485.lua is working code, if so then the documentation is in error.