Other Parts Discussed in Thread: ENERGIA, MSP430F5529, MSP430G2553
Tool/software: Code Composer Studio
Hello,
I am using Energia 1.6.10E18 and I'm trying to use the multiserial example .
void setup() {
// initialize both serial ports:
Serial.begin(9600);
Serial1.begin(9600);
}
void loop() {
// read from port 1, send to port 0:
if (Serial1.available()) {
int inByte = Serial1.read();
Serial.write(inByte);
}
}
When opening the example project and trying to verify - I get the error :\Local\Temp\arduino_modified_sketch_33016/MultiSerial.ino:22: undefined reference to `Serial1'
Other functions work well, even using just Serial.begin(9600) can create a failure free project.
How can I get rid of the undefinded Serial1 ? Where is it defined?
Any help is appreciated