Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import minimalmodbus
from serial.serialutil import SerialException
# We can't test proper behaviour in emulation, because there is
# actually no emulated modbus hardware, so we rely on the module
# to fail in an expected way to consider it is working correctly.
# Failure (of the script) is success (of the test)!
try:
instrument = minimalmodbus.Instrument('/dev/ttyUSB99', 1)
except SerialException:
pass