We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a7ca3 commit aa1243dCopy full SHA for aa1243d
1 file changed
src/RS485.h
@@ -45,7 +45,13 @@
45
#define RS485_DEFAULT_RE_PIN 7
46
#elif defined(ARDUINO_UNO_Q)
47
// Support for Uno Q with the SPE Shield mounted
48
+#if !ARDUINO_LIBRARY_DISCOVERY_PHASE
49
+#if __has_include("routerbridge_provides_serial.h")
50
+#define SERIAL_PORT_HARDWARE Serial1
51
+#else
52
#define SERIAL_PORT_HARDWARE Serial
53
+#endif
54
55
#define RS485_DEFAULT_DE_PIN D8
56
#define RS485_DEFAULT_RE_PIN D7
57
#else
0 commit comments