Pages: [1]   Go Down
Author Topic: Serial setup - can't set number of bits or parity on Serial1  (Read 545 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: