So will that code produce values at 888 or 40888 or at all ? Should this be working ? if so I can look down other avenues. I did have to comment out the "console" part because the select did not work in the embedded linux Im using could that have anything to do with this ?
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
File "/usr/lib/python2.7/site-packages/modbus_tk-0.4-py2.7.egg/modbus_tk/simulator.py", line 145, in run
if self._check_console_input(): #if something to read on the console
File "/usr/lib/python2.7/site-packages/modbus_tk-0.4-py2.7.egg/modbus_tk/simulator.py", line 135, in _check_console_input
(inputready, abcd, efgh) = select.select([sys.stdin], [], [], 0.5)
NameError: global name 'select' is not defined