Serial 8N2?


I’m tyring to start the serial comms on a Due with 8N2 config. The link here 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?


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.