From ad2fd4ff97bd7170177072f1265b3272878db448 Mon Sep 17 00:00:00 2001 From: Timothy Claassens Date: Sat, 27 Apr 2019 21:12:49 +1200 Subject: [PATCH] Added a condition that adds the SoftwareSerial library for the ESP8266. --- utility/SerialFirmata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/SerialFirmata.h b/utility/SerialFirmata.h index 2319951b..365fde48 100644 --- a/utility/SerialFirmata.h +++ b/utility/SerialFirmata.h @@ -26,7 +26,7 @@ // SoftwareSerial is currently only supported for AVR-based boards and the Arduino 101. // Limited to Arduino 1.6.6 or higher because Arduino builder cannot find SoftwareSerial // prior to this release. -#if (ARDUINO > 10605) && (defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_ARC32)) +#if (ARDUINO > 10605) && (defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_ARC32) || defined(ESP8266)) #include #endif