Hello everyone,
I am a totally noob so please forgive me. I recently bought the Xadow main board, GPS, and many other modules for a school project. I have gone through the basic setup successfully for the Main Board to connect via Ardunio software on Win 8.1. The blink test worked fine. The LED however is blue instead of orange.
When looking over the documentation there is very little information on setup. I connected the module according to the picture. When I copy and paste the code:
#define SerialBaud 9600
#define Serial1Baud 9600
void setup()
{
Serial.begin(SerialBaud);
Serial1.begin(Serial1Baud);
}
void loop()
{
for(;
{
// copy from virtual serial line to uart and vice versa
/*
*/
if (Serial.available())
{
Serial1.write(Serial.read());
}
if (Serial1.available())
{
Serial.write(Serial1.read());
}
}
}
I receive the following error message:
scope
sketch_mar27c.ino: In function ‘void loop()’:
sketch_mar27c.ino:18:7: error: ‘Serial1’ was not declared in this scope
sketch_mar27c.ino:20:9: error: ‘Serial1’ was not declared in this scope
Error compiling.
The source of the code comes from the Wiki at seeedstudio.com/wiki/Xadow_GPS. Could someone please help walk me through the process of setting the GPS module up? I am assuming I need to enter some information within the (), but don’t know what or how to get it.
Thank you for your time.