passage à SERIAL_SPEED

This commit is contained in:
Julien Cabillot 2017-03-02 17:33:40 +01:00 committed by JC
parent 848a7fd583
commit e8ae3acc4a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#define SERIAL_SPEED 115200
// LED // LED
#define LED_PIN D0 #define LED_PIN D0

View File

@ -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