hi there,
my LoRa WAN gps lat and lng showing error. can you guys plz hwlp me with this? as I already tried with latest version of the board
void setup()
{
Serial5.begin(9600);
SerialUSB.begin(115200);
}
void loop()
{
while(Serial5.available())
{
SerialUSB.write(Serial5.read());
}
while(SerialUSB.available())
{
Serial5.write(SerialUSB.read());
}
}
Using this code, does the following result appear?
yes… there is no problem with that
Hi
Please attention to whether your LoRaWAN has GPS.
This chapter works with Seeeduino LoRaWAN W/GPS only.
Uploading: 3CB0093A-E942-430B-9CC9-24DE64ABF8F7.jpeg… Uploading: CE759653-5CA2-4145-8B42-DFFFA86112F9.jpeg… Uploading: 7E498C66-4B52-4898-A75D-A29C6412A702.jpeg… Uploading: DD0F52A5-71BD-4031-9504-444C82DE60EF.jpeg… Uploading: 8630B050-5704-4B31-AD99-B842FDD42A4F.jpeg… Uploading: C4B62AAD-0B44-49BF-98DD-CD93745A25DC.jpeg…
see its comes with cps chip. and first code for LoRa WAN gps worked there.
hey there do you guys have any solution for that?
Hi @rhreday
It is ok now. The reason is our code has mistakes. We have changed the code in Wiki, please upload the code again.
Or use the below code.
void setup()
{
Serial2.begin(9600);
Serial.begin(115200);
}
void loop()
{
while(Serial2.available())
{
Serial.write(Serial2.read());
}
while(Serial.available())
{
Serial2.write(Serial.read());
}
}