Skip to content

Commit 95782e0

Browse files
Merge pull request #420 from daftfox/feature/add-support-for-esp8266
Added a condition that adds the SoftwareSerial library for the ESP8266.
2 parents f30c3d1 + ad2fd4f commit 95782e0

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)