09.11.2018, 08:20
Hi,
I want to send command for sauna control over RS485
Comand list
How need to look my command in LM?
I want to send command for sauna control over RS485
Comand list
How need to look my command in LM?
Code:
require('serial')
port = serial.open('/dev/RS485-1', { baudrate = 57600, parity = 'none', duplex = 'half', databits = 8, stopbits = 1 })
port:flush()
log = port:write (info)
port:close()