Serial 8N2?

Hi

I’m tyring to start the serial comms on a Due with 8N2 config. The link here https://www.arduino.cc/en/Serial/Begin implies that i should be able to do

Serial.begin(speed, config)

with speed = 115200 and config = SERIAL_8N2

Unfortunately this wont compile. Is there a simple way to achieve this?

Chris

You can do it with Serial1..Serial3, but not with Serial.
Serial is an UART and the rest are USARTs, which have more features.

Ah, OK thanks. I'll have a look at using different pins.