You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//| A common bidirectional serial protocol that uses an an agreed upon speed
51
51
//| rather than a shared clock line.
52
52
//|
53
53
//| :param ~microcontroller.Pin tx: the pin to transmit with, or ``None`` if this ``UART`` is receive-only.
54
54
//| :param ~microcontroller.Pin rx: the pin to receive on, or ``None`` if this ``UART`` is transmit-only.
55
55
//| :param int baudrate: the transmit and receive speed.
56
-
/// :param int bits: the number of bits per byte, 7, 8 or 9.
57
-
/// :param Parity parity: the parity used for error checking.
58
-
/// :param int stop: the number of stop bits, 1 or 2.
59
-
/// :param int timeout: the timeout in milliseconds to wait for the first character and between subsequent characters.
60
-
/// :param int receiver_buffer_size: the character length of the read buffer (0 to disable). (When a character is 9 bits the buffer will be 2 * receiver_buffer_size bytes.)
56
+
//| :param int bits: the number of bits per byte, 7, 8 or 9.
57
+
//| :param Parity parity: the parity used for error checking.
58
+
//| :param int stop: the number of stop bits, 1 or 2.
59
+
//| :param int timeout: the timeout in seconds to wait for the first character and between subsequent characters.
60
+
//| :param int receiver_buffer_size: the character length of the read buffer (0 to disable). (When a character is 9 bits the buffer will be 2 * receiver_buffer_size bytes.)
61
61
//|
62
+
//| *New in CircuitPython 4.0:* ``timeout`` has incompatibly changed units from milliseconds to seconds.
0 commit comments