Go Down

Topic: Serial setup - can't set number of bits or parity on Serial1 (Read 988 times) previous topic - next topic


Has anyone else had trouble setting number of data bits, parity bits, and stop bits while using the Arduino Due?  I have a test sketch that I was using with a Mega 2560 but when I try to use it with the Due, the code won't compile.

The compiler flags this line:

Serial1.begin(4800, SERIAL_7E2);

With this message:

'SERIAL_7E2' was not declared in this scope

Any ideas?


Well, I finally found the right keywords to enter into the search field and I found my answer.  It appears that this feature has not yet been implemented on the Due.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131