29.03.2017, 10:41
(This post was last modified: 29.03.2017, 10:41 by automatikas.)
is it the same setup as rs485? i have seen some flush() command else were.
Have tried this below but no respons. RS485 ports are working great.
Have tried this below but no respons. RS485 ports are working great.
Code:
mb = luamodbus.rtu()
mb:open('/dev/RS232', 9600, 'E', 8, 1, 'H')
mb:connect()
mb:setslave(1)