Code produced is:
base_rs485 = AtomRS485(2, baudrate=115200, bits=8, parity=None, stop=1, tx=5, rx=6, txbuf=256, rxbuf=256, timeout=0, timeout_char=0, invert=0, flow=0)
modbusrtumaster_0 = modbus.ModbusRTUMaster(uart=_, verbose=False)
The Base485 init block dose not return a variable, so custom code is required to init modbus.
Am I missing something?