|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
#include "mqttled.h"
|
|
|
|
|
|
|
|
|
// C'est moche mais c'est pour récuperer EVERY_N_SECONDS :)
|
|
|
// C'est moche mais c'est pour récuperer EVERY_N_SECONDS :)
|
|
|
#include <FastLED.h>
|
|
|
#include <FastLED.h>
|
|
|
#include <ESP8266WiFi.h>
|
|
|
#include <ESP8266WiFi.h>
|
|
|
@ -12,7 +14,7 @@ PubSubClient client(espClient); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setup() { |
|
|
void setup() { |
|
|
Serial.begin(115200); |
|
|
|
|
|
|
|
|
Serial.begin(SERIAL_SPEED); |
|
|
Serial.println("\nresetting"); |
|
|
Serial.println("\nresetting"); |
|
|
|
|
|
|
|
|
// WIFI
|
|
|
// WIFI
|
|
|
|