add actual modbus communication

This commit is contained in:
2019-07-08 15:28:46 +02:00
parent 303f4b50f1
commit 93b3333356
4 changed files with 46 additions and 19 deletions

View File

@ -8,4 +8,6 @@ class Config(object):
self.cmdAddress = '127.0.0.1'
self.cmdPort = 9999
self.registerFile = 'registers.pkl'
self.serialPort = '/dev/ttyAMA0'
self.serialBaudRate = 9600