mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-29 09:28:49 -04:00
Add Heltec T114 GPS support and fix T114 FW
This commit is contained in:
parent
0f29d1b65e
commit
1d79b1e8a9
6 changed files with 85 additions and 5 deletions
8
src/misc/gps.h
Normal file
8
src/misc/gps.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include <TinyGPSPlus.h>
|
||||
#include <SoftwareSerial.h>
|
||||
|
||||
#define GPS_INTERVAL 5000 // ms
|
||||
|
||||
unsigned long last_gps = 0;
|
||||
TinyGPSPlus gps;
|
||||
SoftwareSerial gps_s(PIN_GPS_RX, PIN_GPS_TX);
|
Loading…
Add table
Add a link
Reference in a new issue