Go Down

Topic: Serial 8N2? (Read 1 time) previous topic - next topic

ChrisLewis

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

Code: [Select]
Serial.begin(speed, config)

with speed = 115200 and config = SERIAL_8N2


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

Chris

oqibidipo

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

ChrisLewis

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

Go Up