would be nice to have this in the standard serial lib's ...
Nobody uses 7-bit anymore
SerialPort::begin(uint32_t baud, uint8_t options = SP_8_BIT_CHAR)Sets the data rate in bits per second (baud) for serial data transmission.Parameters: [in] baud rate in bits per second (baud) [in] options constructed by a bitwise-inclusive OR of values from the following list.Choose one value for stop bit, parity, and character size.The default is SP_8_BIT_CHAR which results in one stop bit, no parity, and 8-bit characters.SP_1_STOP_BIT - use one stop bit (default if stop bit not specified)SP_2_STOP_BIT - use two stop bitsSP_NO_PARITY - no parity bit (default if parity not specified)SP_EVEN_PARITY - add even parity bitSP_ODD_PARITY - add odd parity bitSP_5_BIT_CHAR - use 5-bit characters (default if size not specified)SP_6_BIT_CHAR - use 6-bit charactersSP_7_BIT_CHAR - use 7-bit charactersSP_8_BIT_CHAR - use 8-bit characters
Does anybody know how to set databit 7 , parity Even, stop bit one?
My device is a Multimeter with serial port.Do I require a TTL converter ?