Refactor WiFi connection handling: move PIN definitions, enhance connection logic, and integrate MQTT initialization in setup
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user