Skip to content

Commit ad2fd4f

Browse files
committed
Added a condition that adds the SoftwareSerial library for the ESP8266.
1 parent f30c3d1 commit ad2fd4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/SerialFirmata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// SoftwareSerial is currently only supported for AVR-based boards and the Arduino 101.
2727
// Limited to Arduino 1.6.6 or higher because Arduino builder cannot find SoftwareSerial
2828
// prior to this release.
29-
#if (ARDUINO > 10605) && (defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_ARC32))
29+
#if (ARDUINO > 10605) && (defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_ARC32) || defined(ESP8266))
3030
#include <SoftwareSerial.h>
3131
#endif
3232

0 commit comments

Comments
 (0)