Browse Source

passage à SERIAL_SPEED

master
Julien Cabillot 3 years ago
committed by JC
parent
commit
e8ae3acc4a
2 changed files with 5 additions and 1 deletions
  1. 2
      mqttled.example.h
  2. 4
      mqttled.ino

2
mqttled.example.h

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

4
mqttled.ino

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

Loading…
Cancel
Save