Initial Commit from upstream - v1.4

This commit is contained in:
2019-07-04 09:23:44 -07:00
commit 833823dbeb
30 changed files with 5391 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
#include <NewSoftSerial.h>
NewSoftSerial nss(2, 3);
NewSoftSerial nss2(4, 5);
void setup()
{
nss2.begin(4800);
nss.begin(4800);
Serial.begin(115200);
}
void loop()
{
// Every 10 seconds switch from
// one serial GPS device to the other
if ((millis() / 10000) % 2 == 0)
{
if (nss.available())
{
Serial.print(nss.read(), BYTE);
}
}
else
{
if (nss2.available())
{
Serial.print(nss2.read(), BYTE);
}
}
}