We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3a973 commit c09eda9Copy full SHA for c09eda9
examples/StandardFirmata/StandardFirmata.ino
@@ -25,11 +25,12 @@
25
26
#include <Servo.h>
27
#include <Wire.h>
28
-#include <ArduinoUnit.h>
29
#include <Firmata.h>
30
31
// SoftwareSerial is only supported for AVR-based boards
32
-#if defined(ARDUINO_ARCH_AVR)
+// The second condition checks if the IDE is in the 1.0.x series, if so, include SoftwareSerial
+// since it should be available to all boards in that IDE.
33
+#if defined(ARDUINO_ARCH_AVR) || (ARDUINO >= 100 && ARDUINO < 10500)
34
#include <SoftwareSerial.h>
35
#endif
36
#include "utility/serialUtils.h"
0 commit comments