Serial.begin(speed, config) failure
Opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. implement Serial.begin(1200, SERIAL_7E1)in setup.
2. try to compile.
3.
What is the expected output? What do you see instead?
Expected results should be that the sketch should compile as usual and serial
port(s) should work correctly. At compile I get the error: 'SERIAL_7E1' was not
declared in this scope.
What version of the product are you using? On what operating system?
Arduino 1.0.5, Windows XP
Please provide any additional information below.
normal serial operations that just include Serial.begin(speed) work just fine.
If I load the Serial.begin(speed, config) on my Mega it does compile so it must
be a board definition missing somewhere in the new Serial class of 1.0.4 / 1.0.5
Original issue reported on code.google.com by aiwindus...@gmail.com
on 3 Jul 2013 at 9:48
GoogleCodeExporter commented
Was able to fix it by copying the HardwareSerial.cpp and .h files from Arduino
1.0.5 arduino cores folder and placing it in the Sanguino folder package.
Sketches using 644P compile with the Serial.begin(speed, config) protocol now.
Original comment by aiwindus...@gmail.com
on 5 Jul 2013 at 11:44