From 6f8d1ea164862ebae53c2d4e7830f33819477da1 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Thu, 2 Mar 2017 17:34:16 +0100 Subject: [PATCH] =?UTF-8?q?passage=20=C3=A0=20SERIAL=5FSPEED?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blinkhttp.example.h | 2 ++ blinkhttp.ino | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/blinkhttp.example.h b/blinkhttp.example.h index 8af6329..76d708a 100644 --- a/blinkhttp.example.h +++ b/blinkhttp.example.h @@ -1,3 +1,5 @@ +#define SERIAL_SPEED 115200 + // HTTP #define HTTP_PORT 80 diff --git a/blinkhttp.ino b/blinkhttp.ino index 0f9520e..8e43a37 100644 --- a/blinkhttp.ino +++ b/blinkhttp.ino @@ -13,7 +13,7 @@ ESP8266WebServer server(HTTP_PORT); void setup() { - Serial.begin(115200); + Serial.begin(SERIAL_SPEED); Serial.println("\nresetting"); // LED