Pages: [1]   Go Down
Author Topic: Serial.begin parameters not working - Due 1.5.5 Beta  (Read 131 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A re-post as I'm having the same issue using a Due with 1.5.5...
   
Program won't compile:
Serial.begin(1200,SERIAL_7E1);
error: 'SERIAL_7E1' was not declared in this scope

Any Ideas?

Thnks, Bart
Logged

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10431
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Due HardwareSerial class doesn't currently support the two-argument begin() call. 
The constant SERIAL_7E1 is an AVR register setting.
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: