Constructors

class machine.UART(id, baudrate=115200, bits=8, parity=None, stop=1, *, flow=0, timeout=0, timeout_char=0)

You can pass parameters before the flow keyword without their names, for example: UART(1, 115200, 8, None, 1).

Note Unlike other MicroPython platforms, the XBee Cellular Modem uses a circular buffer to store serial data, and the timeout and timeout_char settings do not apply to writes.