diff --git a/ST-B-L072Z-LRWAN1/longfi-us915-cayenne-gnss/longfi-us915-cayenne-gnss.ino b/ST-B-L072Z-LRWAN1/longfi-us915-cayenne-gnss/longfi-us915-cayenne-gnss.ino index 28b7e0b..288abe9 100644 --- a/ST-B-L072Z-LRWAN1/longfi-us915-cayenne-gnss/longfi-us915-cayenne-gnss.ino +++ b/ST-B-L072Z-LRWAN1/longfi-us915-cayenne-gnss/longfi-us915-cayenne-gnss.ino @@ -1,5 +1,10 @@ #include #include +#include +#include +#include +#include +#include #include #include @@ -65,7 +70,7 @@ void do_send(osjob_t *j); // Schedule TX every this many seconds (might become longer due to duty // cycle limitations). -const unsigned TX_INTERVAL = 10; +const unsigned TX_INTERVAL = 60; // Pin mapping // @@ -309,10 +314,9 @@ void readGPS() { else Serial.println("not available"); - // if (nmea.isValid()) { lpp.addGPS(1, latitude_mdeg / 1000000, longitude_mdeg / 1000000, alt / 1000); - //}; + Serial.print("Speed: "); Serial.println(nmea.getSpeed() / 1000., 3); Serial.print("Course: ");