Refactor MqttVerticle and GPS implementations: add stop method, update GPS serial handling, and improve WiFi connection logic with LED feedback
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#include "TinyGPSPlus.h"
|
||||
|
||||
#define RX 26
|
||||
#define TX 14
|
||||
|
||||
struct GPSData_t
|
||||
{
|
||||
float lat;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <WiFi.h>
|
||||
#include <PubSubClient.h>
|
||||
|
||||
#define SSID "iPhone de Álvaro"
|
||||
#define PASSWORD "alvarito123"
|
||||
#define SSID "DIGIFIBRA-D2ys"
|
||||
#define PASSWORD "4EEATsyTcZ"
|
||||
|
||||
int setupWifi();
|
||||
@@ -9,6 +9,8 @@
|
||||
#define GPS_ID 3
|
||||
#define MAX7219_ID 1
|
||||
|
||||
#define DEBUG
|
||||
|
||||
#include "JsonTools.hpp"
|
||||
#include "RestClient.hpp"
|
||||
#include "WifiConnection.hpp"
|
||||
|
||||
Reference in New Issue
Block a user