If the current stopbits state cannot be retrieved, this property returns
nil
Example
{{example}}
Port.stopbits
Sets/gets the stop bits mode of the serial port.
Stop bits in serial communication indicate the end of a data packet. They help synchronize the sender and receiver, ensuring proper data transmission. The following values are supported:
"one": 1 stop bit, used in most serial communications"one5": 1.5 stop bits, rarely used, mainly in older systems"two": 2 stop bits, provides extra timing buffer (useful for slower devices)