1
0

Refactor WiFi connection handling: move PIN definitions, enhance connection logic, and integrate MQTT initialization in setup

This commit is contained in:
Jose
2025-06-03 23:21:59 +02:00
parent cedf39d95a
commit c74ddc626c
3 changed files with 60 additions and 41 deletions

View File

@@ -6,4 +6,10 @@
#define SSID "DIGIFIBRA-D2ys"
#define WIFI_PASSWORD "4EEATsyTcZ"
int WiFi_Init();
#define PIN_R 12
#define PIN_G 13
#define PIN_B 14
void WiFi_Init();
void WiFi_Handle();
bool WiFi_IsConnected();