SerialDataBits Property

Gets or sets the number of data bits in each byte

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public int DataBits { get; set; }

Property Value

Int32
The number of data bits in each byte, default is 8 data bits

Return Value

Int32
Integer number of data bits in each byte

Exceptions

ArgumentOutOfRangeExceptionThe data bits value is less than 5 or more than 8

See Also