2024-08-03 -
This commit is contained in:
parent
1c9cd6a447
commit
74a208a647
@ -31,7 +31,7 @@ modbus_device = '/dev/modbus'
|
|||||||
|
|
||||||
mb_address = 1
|
mb_address = 1
|
||||||
sensy_boi = minimalmodbus.Instrument(modbus_device, mb_address)
|
sensy_boi = minimalmodbus.Instrument(modbus_device, mb_address)
|
||||||
sensy_boi.serial.baudrate = 9600
|
sensy_boi.serial.baudrate = 115200
|
||||||
sensy_boi.serial.bytesize = 8
|
sensy_boi.serial.bytesize = 8
|
||||||
sensy_boi.serial.parity = minimalmodbus.serial.PARITY_NONE
|
sensy_boi.serial.parity = minimalmodbus.serial.PARITY_NONE
|
||||||
sensy_boi.serial.stopbits = 1
|
sensy_boi.serial.stopbits = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user